a key can be used to lock and unlock something