It's a two-step puzzle, and both halves have to be done in order.
First, the door. If there are keys beside it, use your camera gadget to photograph the key matching the number displayed above the door — a "3" means you take a picture of the third key.
Then head to the kitchen. You'll need to get past the thermometer obstacle using the heat gadget, which earns you the chef's outfit. Put that on, place the item in the oven, and use the key you photographed to open the way into Wee World.
Pretty simple once you see it — and satisfyingly obscure until you do.