iPhone Activation Lock: The Right Way to Remove It
Tools You'll Need
Apple IDiCloud
Activation Lock is Apple's anti-theft lock. After an erase, the iPhone asks for the Apple ID and password that were on it.
1. Sign in with the original Apple ID and password. This is the only direct way.
2. Forgot the password? Reset it at iforgot.apple.com.
3. Bought it second hand? Ask the previous owner to sign in to icloud.com/find, choose the device, and select "Remove This Device".
4. You're the original owner but lost access? Apple Support can remove the lock with proof of purchase (receipt showing the serial number).
For shops: never buy or unlock an iPhone with Activation Lock unless the owner can remove it. It is often a stolen phone.