I needed a easy child lock for a drawer, that works until the child is too smart. This attaches with a screw and then pivots around the screw protected by the "pin". There is a little bit of a ridge on the back to catch the side of the cabinet and prevent the lock from rotating too far.
I used a #6 wood screw for attachment.
Video to show assembly
The author hasn't provided the model origin yet.