a lock is opened on a door