using a key opens a lock