Call T-Mobile, ask for a unlock code. I am not sure it is free or not.