If you're asking what I think you are asking, then this will let you script locking/unlocking doors ...
http://www.creationkit.com/Locking_and_Unlocking_Doors
Not quite what I needed mate sadly, but thnak you for trying. The room in question is filled with npcs who are intent on killing you, not wwarnign you to leave... hehe.
When you enter the room, this is how its meant to go
1. Entry to the area, 1 spotlight shines on a switch on wall, you hit it an the lights come up all around 1 by 1.
2. Looking round, you can see the entire room is ringed with draug coffins (unopened).
3. Walking to center of the room hits a defaultrigger (blue box), door at end of room slams shut an locks, Lights go out an the coffins start opening 1 by 1 every second.
When last coffin opens the lights come back on an your surrounded by Draug, but the doors are still locked (until you kill the final one.)
Now I could just add a key to the npc to unlock the door, but that wouldn't fix the initial locking an lights issue.I think I may be trying to be too complex maybe specially since I cant script to save myself. an the hundreds of posts I have read have jsut left me more confused than when I started lol. Looking for tutorials on how to do such things has burned me out too

... it's much easier to learn when you can see it being done than reading a page written by programmers.