None of the other doors worked either, so i couldn't go back to kill the last skeletons. I just got stuck in the room
Oh. Unfortunately, that's a bug. Each door is two blocks wide. If you can't move through the first, probably there's an obstacle on the other side that prevents you from moving. Try the second block!