Luckily, this cabinet just holds pots and pans and we really just put the lock on it because we have it and it can help limit the messes Ada makes around the house. She's become quite the master of removing these and I know they aren't the best lock for the job. We have better locks on the cabinet doors for under the sink and have relocated toxic materials to higher ground.
Moral of the story: Don't be lulled into a false sense of security with these things. They aren't all that secure and can't be held responsible for the silly things your toddler might get into.