You're going to need to keep them confined to habituate them to laying in the nests.
Free range birds sometimes need to be 'trained'(or re-trained) to lay in the coop nests, especially new layers. Leaving them locked in the coop/run for a week or so can help 'home' them to lay in the coop...