Snap-resistant locks work in several ways. One is to simply use better materials. A manufacturer might also design the front of the lock to snap off in a separate piece, leaving the internal mechanisms of the door concealed.