I keep the feeder along with food in a large locking trash can
as for dog eating chicken pellets as long as he dont try to lay eggs he'll be fine,
my dog eats fish pellets he lays in front of tanks waiting till they get fed again
I'm sure he'll be eating chicken pellets once he discovers then