Most latches used in the RV industry do a fairly good job of holding, during travel. But of course depending on conditions, anything can happen. ( That Murphy thing ).
I have two problem areas, under counter doors that could allow stuff to get under the slide, that I secure with bungie cords, and the ones that could drop stuff on the DW's head require special attention, everything in those is contained in plastic bins with lids, and packed in place with foam pillows.