Doesn't the motorola phone have a settings screen for defining what the button does? For Samsung they like to re-purpose the power button.
First of all, it brought up bixby. I turned it back to powering off the phone and disabled bixby.
Then, with the new update they re-assigned the power button to gemini. So, I turned it back to powering off the phone and disabled gemini too.
However, the problem these days is that I'm never completely sure I've turned off all of the AI nonsense on my phone.