It's stated in the intro that you can only go through a door if it's already open or if you have the key for it. The keys are like magic, once you find one, a new door will appear