I have reviewed similar locks before and knew how to install them. I did a better job this time around and didn't need tape to make sure the locks and head stayed in place.
I used two of the cabinet locks to replace two of the old locks in the bathroom. I had a leaky sink and let my dad fix the issue. Instead of waiting for me to go get the magnet to unlock the cabinets, he pulled the cabinets open with his hands and knocked off both heads.
The locks do come with a guide to help line up the heads and locks to lock perfectly. I also recommend a permanent marker, to mark the head and lock alignment. It comes in handy later. I also recommend keeping the magnet in a easy to remember place. I keep my magnet in the closet (holder attached to the wall), so my kids won't have access.
You can purchase the locks, using the link above.