I always put the person on hold or lock off.
So annoying, this customer yesterday during my shift asked me a question complaining and I was explaining, trying to help and her phone rang and she just picked it up without saying excuse me or at least giving me a '1 second, sorry' notion.

it is rude TBH. It's like talking to someone else in the same room you're in, while you're on the phone.