a key can be used for opening a lock