Cabinet door lock
thingiverse
My cat kept opening the cabinet to get to his cat treats. Problem solved. I would use something like PETG to make this as you'll want the springback.
Download Model from thingiverse
With this file you will be able to print Cabinet door lock with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Cabinet door lock.