Instead of focusing on stopping behavior, think about what you would like for your dog to do instead. Toby likes to grab shoelaces and when you’d try to tie one, he’d do just that. It only took a couple minutes to teach him to stay sitting instead while I bent down to tie my shoelace.

To Have A Better-Behaved Dog, Consider What Happens Between Your Training Sessions
Every waking moment of every day and every interaction your dog has with you and the environment is teaching your dog what works, what matters, and what associations to have.