Try the device’s built-in recovery option: use your Apple ID, Google account, or manufacturer account if prompted
Use Find My iPhone to erase the device if it is an iPhone
Use Find My Device to erase the device if it is an Android phone
Put the phone into recovery mode and perform a factory reset
Use the manufacturer’s official support tools or software to restore the device
Visit an authorized service center with proof of ownership
If the phone is managed by a workplace or school, contact the administrator
Restore your data from a backup after unlocking or resetting the phone
