It is not a conventional lock. Basically, you use another magnet to move the piece (also glued to disk magnets) that holds the two "rails" together to the spot where it can freely move out. Because only you know, from the outside, where the lock inside is, and the fact that you need magnets to "unlock" it, no one else, at least without watching you, would know how to open it properly.
I deigned space for two of 2mm5mm (thicknessdiameter) rubidium magnet disks (see pic) to go on the center piece. Of course, the thicker the drawer‘s front board is, the stronger magnet you would need from the outside to move the piece inside.
Link to the magnets: http://a.co/eiYf6AN
(do look or cheaper alternatives though... they can definitely be cheaper somewhere. But do look foe these ones that are finished shiny, because they are stronger in general, though the grades matter)
magnetic_lock.dwg | 128.7KB | |
magnetic_lock.p3stl.stl | 14.5KB | |
magnetic_lock_p1.stl | 17.1KB | |
magnetic_lock_p2.stl | 26.6KB |