One way would be to put a SIM card in from a different carrier (AT&T) and see if it turns on and you can dial a number. If so its unlocked. My guess is that it isn't I think the software is part of the operating system of the phone and needs a code to unlock it. Should be able to call T_Mobile and have them give you the code.