While traditional lock-and-key systems have improved over time, the basic mechanism hasn’t really changed since the first lock was invented more than a thousand years ago: A piece of metal that is just the right shape pushes pins inside a lock into the proper position, allowing the lock mechanism to…