The material of the latch is extremely week for its functional use. Being hit in perpendicular direction (e.g. by occasional door closer work or attempting door opening while the door is locked) it is easily get damaged. The latch easily becomes curve and that leads to the loss of its ability to go back into the corps of the lock body from the door frame. In such occasion the only option is to extract the lock and straighten it with a hammer.
The metal is weak and plastic: you can repeat this every time when the latch is jammed without risk of breaking the latch. The only risk is that the lock will be jammed when you are on the outer side of the door. If this would happen, you will have to break the door to open it