I'm somewhat of a sweet tooth, so I've been contemplating on getting some sort of mechanical timer lock on the door to my cupboard. The idea is simply that after closing the door of the cupboard with all my treats in, it shouldn't open for a given amount of time. Preferably in the time span of an hour or so.
I imagine maybe some sort of trickling sand which would unlock the door somehow, which is reset when I finally get to open the door again. But I'm open for all ideas as long as the door stays shut for at least an hour.
Update: My question differs from this question, due to their focus on the more psychological aspect of stopping access, and furthermore I want delayed access for a time period after I accessed it, whilst that question only want access for a given time. That is very different approaches to how/when to have access, and requires different solutions.