Howdy,
I've got the same problem with raccoons. I free-range the chickens and until last summer never shut the coop door at night. Then disaster hit and I lost all hens but one. So...I've been closing and locking the door at night, but that's a pain in the neck.
Here is what I am thinking...