LOL!
Well, being a chronic dog walker, sometimes mine goes on somebody else’s lawn, but I always carry plastic bags, which I use to pick up the mess right away.
I had an incident once a while back at which time I learned that people get very upset when large (or small) dogs mess on their lawns, so I try to be as courteous about it as I can, but my dog insists upon being walked.
We walked our doggies too and cleaned up after them as you do. But our own yard had data pods we missed. I asked Hubby what the secret data was and he said “Don’t step here”.