Back when Abby was 4 months old I discovered that she could open the freezer door on the fridge! The first time I came home and found the freezer door swinging open I thought I had accidently left it open. The next day when I found the freezer open I knew I hadn't left it open! But I didn't know how it ended up open either.
A few days later on one of my days off I was in the living room and heard a thump and swishing and thumping and banging from in the kitchen. I went in and there was Abby hanging off the front of the freezer door bouncing her body off the door with her back legs and swinging her body, LMAO
Apparently she was trying to get in the freezer to get the catnip I had stored in there. She managed to get the door open but couldn't figure out how to get inside the freezer itself!
I had to start taping my freezer shut with packing tape when I went to work or to bed otherwise she would open the door. She eventually figured out that her little trick wasn't working anymore and gave up trying. So you are right, consistency is the key to breaking their little habits, hehe