By A Mystery Man Writer
The default behavior can be irritating!
For the longest time, the iPhone's power button would end calls when clicked. iOS now finally allows you to disable this behavior, and here's how.
Accidental call hang up with iPhone's side button: Here's how to disable
How To Turn Off a Phone Without the Power Button
How To End Call With Power Button (Lock Screen) On iPhone
Hang Up a Phone Call on the iPhone by Tapping the Power Button
iphone XDA Developers
How to turn off end call with power button on iPhone in iOS 17 - iGeeksBlog
Apple iPhone 6s / 6s Plus - Turn the Device On / Off
Power button kept ending my calls, so googled the issue and the solution was to turn off the “lock to end call” option and when searched for it its not there.
Apple moves button to hang up or end call in iOS 17 beta