If you want to avoid accidentally making a call when your phone is in your pocket or bag, you can lock your keys and screen.
To lock your keys and screen, press the power key.
Press the power key, and swipe up across the screen. If asked, provide additional credentials.