Print as shown in the picture.
0.4 mm nozzle
0.2 layer height
3 perimeters
Use a wooden 6 mm dovel cut to length to connect both parts (or print the 5.8 mm cylinder flat)
Use 3 mm diameter screws to fix it to the door.
The first few times it might be a bit tight but after a while it will be easier to activate.
Enjoy your simple lock
The author marked this model as their own original creation.