Mint2Turn off all your lights, leave a bowl of candy just saying "take one please" by the next morning you'll be missing the bowl tho
Yeah literally the only foolproof way is to turn off your lights, especially porch and driveway lights. If porch lights are off, that's a signal for no candy. If you leave a bowl, kids will come so don't do that.
Or you could just realize that your dog will survive 2 hours of kids knocking. I mean how does he survive 4th of July which is a full day of booms?
Just chill, get drunk, and go bowling.