Question: why would a door not lock?
Answer: Door locking problems almost always originate in the door latch, not the locking mechanism. The striker fails to penetrate into the door jamb because the door or the door jamb has become warped, or the screws have loosened and the plate has moved. ... Shut the door and try to lock it. If it won't lock open the door.