More or less a full redesign of https://www.thingiverse.com/thing:4889702
The original wasn't in my opinion snug enough, so I redesigned it to have a tighter grip plus I added multiple version in regards to lengths and with/without screw holes.
There are multiple versions (lengths) of the parts.
60mm (2,36 inches), 50mm (1,97 inches), 40 mm (1,57 inches) and 33mm (1,3 inches).
The measurements relate to the distance between the back of the female and male connectors, i.e. the distance you want between the door and the wall when “locked”. The connectors are 60mm (2,36 inches) in width.
There are also version with or without screw holes.
Print Instructions
I printed these with 4 perimeters (or more if you need) to ensure a solid fill on the parts that will “flex”. Apart from that 30-50% infill to get good and sturdy parts.
The author hasn't provided the model origin yet.