You can use a key to unlock a door or decipher text that has been encrypted.