Thanks for giving the game a shot! The basement puzzle is a little tricky haha. If you were trapped in between the doors, then it seems like you were pretty close to solving it. The first locked door is unlocked by the light sensor and second door is opened by the floor switch. The character you had on the floor switch might've been pushed off by an enemy unless they had the lantern with them.