MDM locks are common in corporate or educational environments. If an iPhone or iPad is supervised by a company or school, it may have restrictions preventing the installation of certain apps or the changing of settings.
In some scenarios, iRemove Tools offers utilities to bypass the screen passcode (especially on older devices or specific iOS versions), allowing access to the device data without a factory reset. iremove tool