I put up a fence to create a "no poo zone" as long as I keep the gate closed it works,,, I have many hiding places for them to use.
I had a hen that decided the sofa was a great place to lay her eggs, there is a baby gate across that door now when it is open.