You can protect the profile by protecting them via a password.
Please navigate to macOS–>Restrictions. Click on configure. Check the box ‘Ask for a password when removing policy’ under ‘MDM Administration’.
A default password would be set in the box below. You can change this password if you wish to.
The user will be prompted to enter this removal password when he tries to remove a profile from the system preferences of the mac device.