Open "Settings" app then scroll down to the "General" section > "Device Management" to open the enrolled management profile. Then tap on the "MDM" profile. Tap the "Remove Management" button. That's the button to remove MDM profile.