Connect your ios device with a usb cable to your pc. Wait for the software to recognize your device automatically. In the toolbox select the option skip mdm lock to bypass your iphone mdm lock. Then press the skip now button. You will be prompted to enter the iCloud password to skip MDM lock. Follow the on-screen instructions to skip MDM lock.
How to bypass iCloud MDM lock on iOS 10
Step
Open the Settings app.
Go to the iCloud section.
Tap on the iCloud Security option.
Select the iCloud Security option.
Select the Manage Storage option.
Select the Turn Off iCloud Keychain option.
Enter your iCloud password.