Apple makes it easy to end calls on your iPhone with the side button. However, sometimes this can become a source of annoyance rather than convenience, as you can accidentally hang up the phone if you accidentally press the side button.
Best Way to Bypass iPhone Owner Lock | iOS 16.3 | iToolab UnlockGo
If you often end calls by accident, you can disable the End Call with Side Button feature on your iPhone using the following post.
Your iPhone comes with a default setting to end an incoming call when you press the side button to lock the screen. However, you can disable this side button functionality during an ongoing call in iOS settings. Here’s how to do that.
Done! Pressing the side button will no longer end the current call.