In addition to the function for activating the lock or inactivity screen once, we can also activate the function for activating or waking the device by double-tapping.

In this case, the OnePlus smartphone does not remain in the lock screen, but instead immediately redirects us to the start screen, if no screen lock is set up.

Note: If screen lock is enabled, the corresponding unlock method (Pattern/PIN/Password) will also be requested.
Without authentication, the device will remain locked.

Android 10 | OxygenOS 10.0
Step 1:  Open the  Settings
Step 2:  Tap on  Buttons & gestures
Step 3:  Tap on  Quick gestures
Step 4:  Enable or disable  Double tap to wake
  1. Open the Settings
  2. Tap on Buttons & gestures
  3. Tap on Quick gestures
  4. Enable or disable Double tap to wake

OnePlus Instructions