Use a key to open a lock