There are a few solutions for locking cabinets without knobs. You could use adhesive locks, which stick to the inside of the cabinet and latch onto a catch.
Magnetic locks can also work well; they use a powerful magnet on the inside of the cabinet and a magnetic key to unlock it.