The tailgate opens by itself while driving, what is wrong on a tipper truck?
Look at the latch pins and the hinge first: a pin that has jumped out, a worn latch plate or a bent hinge lets the gate swing, and the load then escapes onto the road on a tipper truck.