What is App lock and how to set?

App lock checks Apps installed on your device and recommends the Apps that require protection for the first time.
1. Go to Settings > Apps > App lock.
2. Tap Turn on.
3. Set the Pattern password.
4. Choose to add or not add a Xiaomi Account.
5. Select Apps and tap Use App lock.
Note
You can choose to turn on fingerprint unlock.