a door with a lock can be used for keeping someone out