Young birds when outside in a run during the day will usually not learn to return to the coop to sleep without a light. They will, after a few weeks, get to know their space and return to roost at night on their own without the light. Also young chickens "learn" to roost, some before others...