a door with a lock is used for keeping someone out