Different doors work differently, but they generally have two ways of keeping themselves closed. There is a latch on the door that is operated by the handle from the inside and into which a strike on your jamb slides to keep it closed. This is a more refined way of...