The OnePlus smartphone comes with a touch protection against accidental touch, the so-called pocket mode.

Pocket mode prevents accidental touches to the screen or fingerprint scanner when the device is in your pocket, preventing accidental operation or starting functions and apps.

Android 10 | OxygenOS 10.0
Pocket mode -  Open the  Settings
Pocket mode -  Tap on  Utilities
Pocket mode -  Enable or disable  Pocket mode
  1. Open the Settings
  2. Tap on Utilities
  3. Enable or disable Pocket mode

OnePlus Instructions