Administrators can configure the Uninstallation option settings to prevent accidental removal of client software from the managed Mac.
When Require password to uninstall the client is selected, the user is prompted for the ePO - On-prem password to uninstall the client software.