If you enable the "double tap to suspend" gesture (screen off in the settings), a double tap on the status bar will lock/suspend the phone.
This happens while using any app (not just on the home screen).
Here is some basic info:
Model Name: Zenfone 9
Firmware Version: WW_32.2050.2050.34
Rooted or not: No
Frequency of Occurrence: Very frequent