What is the Pocket mode on the Xiaomi smartphone? How to enable/disable this feature?

In real life, when a phone is placed in a pocket, it is very easy for the screen to be accidentally touched due to squeezing or movement of clothing, leading to unintended actions. To avoid this situation, you can turn on the Pocket mode. When the phone is not unlocked but the screen is lit, and the proximity sensor is obstructed, the phone cannot perform any touch operations.
To enable/disable the Pocket mode on your device, please refer to the following steps:
1. You can go to [Settings];
2. Select the [Lock screen] option;
3. Toggle the [Pocket mode] switch to enable/disable this feature.