Have bears around here, keep garbage in tin shed, like you said make a bunch noise they usually continue on the merry way. For the stubborn ones I have exploding 12 gauge shells which work unbelievably well. You sift one of those close to him or better yet under him it’s like instant warp 10 funny as hell. And for the persistent ones Mr Browning fixes that problem then a call to the conservation officer who comes and picks it up no questions. Only ever turned one off but that was before garbage shed when it was still in cans.