a key is used to unlock a door