The only way to keep them safe is to lock them up at night. We have to do this and if we're not home have to arrange for someone to do it. It's a pain, but part of having animals.
Here, we have possums, raccoons, neighborhood cats and hawks so have to always be on the look out.