We've used those locks for years to make secret panels in mantles and cabinets.
They were originally made to child proof your cabinet doors.
Made by Rev-A-Shelf
You can get them at any cabinet hardware supplier or Amazon.