The statement "You can use a lock on a door to keep strangers out of your house" helps answer the question "Why do people have locks in doors"