The IMEI is used to obtain the unlock code as its the phone's identifying number, just like a vin number on a car. But just like a vin number on a car, that is all it does, the vin number doesn't lock your car doors, keys do (sim lock), but if you need a replacement key you will need that vin...