To lock a door you edit the .utd file and click the lockable option. To spawn them you get the co-ordanats like usual and rotate it using THIS (
http://www.lucasforums.com/showthread.php?t=185200) tut. as for your 2nd question, Elaborate. What do you mean?
First sorry for my English.
If I have two doors with the same Tag, and I will click lockable option, this make all doors with this tag will be unlockable?
How to make only one door unlockable?