Hello Ray,
You don't say how old your caravan is, but lockers that don't stay shut are not lockers, and thus they are not fit for purpose. Write to your dealer explain the problem and ask for a repair as the lockers are not fit for purpose or there is a design flaw.
If the dealer refuses to play ball then contact Trading Standards and the CAB for more detailed advice.