I cannot do that in my OnePlus 7pro,
Can anyone tell me how can I do that?
I enabled double tap on the tiles to lockscreen option from ratio settings.
Restarting Ratio helped.
Double click on the empty space between the search and drawers to lock the screen.