Find the key under one of the doors, then try that key on all of them and you'll eventually find the rest of the candies (thats how i did it, trying not to spoil too much, i'm not sure if the key is actually nessicary or not)