a key is used to unlock a lock.