Mine are locked in there barn at night to prevent loss from predators. I even leave the door open during the day(they free range) and many times they will go in/out on their own..
Come dusk they start to gather around the house, some are already waiting for us in it.