This is a remix of the magnetic cupboard locks by user Non-ICE, however this design is made for use with pull-out drawers instead of cabinets/cupboards.
Additional hardware required per lock:
#6 x 1" screw or similar (x2)
8mm x 3mm cylindrical magnet (x1)
The thin profile allows for installation in between the drawer side and the cabinetry frame. Use a screw to attach the latch to the frame of the cabinet. Install a magnet in the hook using pliers to push it in if necessary, then use screw to attach the hook to the side of the drawer. Leave the hook screw loose enough so that the hook can pivot on it.
The hammer of the hook is pulled down by gravity to catch the latch. When a magnetic key is used on the face of the drawer the hook is pulled back off the latch allowing the drawer to open.
A small hole is provided in the magnet chamber to allow for removal of the magnet using a paperclip if needed.
Use any magnetic key design to open the locks (such as the one found here: https://www.thingiverse.com/thing:2793122).
To temporarily disable the lock, lightly tighten the screw that the hook pivots on so that it can no longer pivot forward.
These have been tested on my kitchen drawers and work great at keeping my infant from opening them.
User datdiy's remix of the original design inspired these hook and latch changes.