How to make application protected in Huawei P9 lite?

How to make application protected in Huawei P9 lite?

There is a setting in Huawei phones that allows you to add applications as protected and keep Your target phone accessibility enable.
(1) Security ==> Permission manager ==> App Permissions Manager” to manage permissions for any apps.
(2) Settings (Battery Manager > Protected Apps). This allows elected apps to keep running.