a key is used for unlocking.