Thanks for playing the game! And, I'm sorry to hear about that bug. It's one of those things that I never saw through playtesting.
Edit: Wait, that's not a bug! In order to pass through the first door, you need to turn off the light and have the flying creature follow you. Then, you need to press 'X' in the little zone near the door. After that, the door should be able to open! I guess my in-game tutorial just isn't that great lol.