I essentially do what you do (OP) but not because I'm trying to control or force egg production (by the way I don't think that's what you meant either!) but because if I let them out of the run too early, they end up nesting in secret spots and weeks or months later I find these large piles of dubious old eggs.
I keep them in for the first half of the day which means when they need to lay their eggs, they have to use the nesting boxes. In the afternoon they're free to range about the property. When they go back into the coop to roost at night, I close them in which also helps prevent loss to predators. Unfortunately we have wild cats and possums that we've lost hens to in the past. It probably works because our hens tend to lay eggs around the same time of day.
I think it works well overall. We get most or all of the eggs, the hens get around half a day free ranging time each day and a safe roosting spot at night.