We can enable apps on the Huawei smartphone as device administrators, authorizing selected apps special permissions to change system settings, for example.
We can also allow apps to access and manage the smartphone's memory to delete data, or allow the designated device administrators a permission to change the screen lock password.

A small example is the Find My Device feature, which allows the app to delete all data in case of theft or loss of the Huawei smartphone to protect privacy.

Note: It is strongly recommended to only grant the "Device Administrator status" to apps that we are certain the will not be any risks.

Android 10 | EMUI 10.0
Device administrators -  Open the  Settings
Device administrators -  Tap on  Security
Device administrators -  Tap on  More settings
Device administrators -  Tap on  Device administrators
Device administrators -  Choose an  administrator
Device administrators -  Activate or deactivate the  device administrator
  1. Open the Settings
  2. Tap on Security
  3. Tap on More settings
  4. Tap on Device administrators
  5. Choose an administrator
  6. Activate or deactivate the device administrator

Huawei Instructions