I lock them in the nest box. I use an old oven rack. It's open but they can't get out. I put her in the box in the morning and after she lays I open up the box and she exits when she wants to. Usually 2 days of this and she goes to the nest box after that.