I mean....you're going to have to build a fence.
They can still be free in your yard where you can enjoy them but you have to make sure they stay in your yard. I would build a much taller fence that they can not see through and with some sort of edging that they will be unlikely to want to...