Don’t lock them out or in, let them have a choice and they will be fine. Sometimes with the best intentions people and trying to keep birds safe, actually put them in highly stressful situations as being locked in a small space. But do what you are comfortable with, they are your chickens.