I remember this skit. It didn't take place in Ernie and Bert's apartment, but behind one of those brick walls. What happened was Ernie had a bunch of cookies that he didn't want Cookie Monster to get at, so he locked them up in a safe. Hope this is helpful.