How to set the phone to lock screen when detecting the device is theft?

The Xiaomi smartphones support setting the phone to lock screen when detecting the device is theft, which can minimize the impact of phone theft by protecting your data and your device with security features.
To set the phone to lock screen when detecting the device is theft, please refer to the following steps:
1. Go to [Settings];
2. Swipe down to find and tap [Google];
3. Tap [All services];
4. Tap [Theft protection];
5. Tap [Add screen lock] and set screen lock as pattern, PIN or password;
6. Enable [Theft Detection Lock] and the screen will lock if this setting detects that someone took your device and ran away;
7. Enable [Offline Device Lock] and the screen will lock shortly after your device goes offline to help protect your data.