Try having a dog repeatedly hump your leg till completion. “Theres nothing we can do about it” I hate my office and the stupid pet rules more than you could believe.
I have a similar issue with the couple of cats we have in our office (known also as my home). Either they want to go outside, get fed (again), or simply just decide they need attention more than I need to work. But still, sometimes it is a nice distraction, and sometimes that distraction is what I needed to help me actually re-focus on the task at hand :)