What are the benefits of closing doors inside my shelter?

I think it does affect heating, but mainly, having doors open means that intruders can get through the building quicker.