You can get spring-loaded hinges that are a direct swap for the typical RV cabinet hinges.
We had ongoing problems with some cabinet doors and a couple of drawers opening during transit, usually from hitting a speed bump a bit too hard. Replaced most of the common cheap roller catches with Southco Grabber catches. RV Designer and JR products has them too.
Sometimes the factory does a poor job of installing roller catches and they can be misaligned or even damaged. Sometimes you can simply add a 2nd one.