a lock is used for securing a door.