The interruption and the resulting loss of productivity because of it however is the same in either case.
Focused work without interruption must be respected and enforced when needed. If you are bored at work, go ask for more work to do, I'd say.
Or do as I did when I was still in offices many years ago: politely and without raising your voice just ask the room directly: "Anyone up for 10 minutes coffee break?". If nobody would respond then I would still go at a balcony drinking my coffee alone. Nobody is mandated to listen to my blabber and I understood and respected that. It's rather amazing how many people didn't though.
> Why not be honest and direct?"
In such situations I usually say something like "I'm very sorry but I'm extremely busy. Could you send me email with your issue, please? I'll come back to you as soon as I solve the problem".
She was enraged that I didn't drop everything I was doing to listen to whatever problem she had, and went to complain to my manager, blithering about rudeness, and me not being a "team player".
Since my manger was the one who had assigned me the important work, he told her in polite manager-speak that I had done the right thing and that she should try again later if she still needed my help.