Tempaura: Having played that game countless of times, I know you can't be stuck because you used all your keys. Either you didn't go everywhere (some areas are quite well hidden), or opening that door is entirely optional. It's probably best to check some walkthrough rather than using an editor...
warriorofice: i opened 2 useless doors on level 5 with keys. maybe thats why? there are 3 doors in a row leading in the same room.
No, that will not break the game. You must have overlooked something. There are hidden buttons on walls on that level too.
Did you take a look at the cluebook, that comes with the game? That should help. For instance it mentions that you should pick up a dwarven key, before putting someting on a shelf, because that would make the key vanish. Did you do that? The cluebook also has useful maps.
EOB1 actually is quite a non-linear game. You get access to portals, that let you skip large parts of the game,