a lock with a key and a lock