Doors can be unlocked to allow enemies and prisoners to pass by only races that have inteligence humanlike or above. Doors 1 2 double sized doors. Seems like there is no way to lock a door is that right.