How to Uninstall an App with Device Administrator Permission
When you are trying to uninstall an App but you are unable to do so as the Uninstall button is greyed out.
The Apps we install requires various permissions but some apps need to be installed with Device Administrator permission. An example app would be the Lock Screen from Play Store. When you install this app and try to activate, it will ask for your permission to activate as a Device Administrator.
To uninstall an App with Device Administrator Permission, go to Settings –> Security –> Device administrators
Here, you can see the various apps checked for Device Adminstrator access, just uncheck the app that you would like to uninstall and Deactivate it in the next screen.
Now you can go ahead and uninstall the app normally.