if i were you, i would install actual locks on the cupboards and fridge if possible.
like actual lock and key locks.
i think pad locks can be installed on fridges if you asked someone at a hard ware store, and the same goes for cupboards.
or the next time they do this, get them to clean up the mess.
one way or the other, they need to learn.
and we all know, no child likes to clean up the mess they make.
what time do they go to bed?
perhaps they need a later bed time so they are less likely to wake up and party all over the house.