A two point lock includes two pivotally mounted security hooks having sliding faces that engage sliding faces of a spring-loaded mishandling pin when the mishandling pin is vertically extended and the security hooks are rotatably retracted. The mishandling pin is vertically retracted when it abuts a jamb. When the mishandling pin is vertically retracted, the sliding faces disengage so that the security hooks can rotate to lock onto a striker on the jamb. Thus, the mishandling pin prevents the security hooks from being slammed into the striker before a door or a window is fully closed.