Sadly, even willpower dust can't really keep you out of the fridge. Only
you can keep yourself out of the fridge.
Maybe by pinpointing why you're going to the refrigerator you can modify your behaviors.
Are you hungry? Then it's important to plan snacks and filling meals. Are you bored? Then a new hobby needs to get started. We all have our different problems regarding food. Once we identify them, we have to be willing to change one step at a time, and modify our behaviors. Permanently.
You can stay out of the fridge when it's not time to eat. Tell us all a little bit about how your past plans failed and how you can change them so that you will succeed.