The statement "a door with a lock is used for selectively letting people in and out." helps answer the question "How can you keep a burglar out of a house?"