Check and see if you can get your phone unlocked. Tmobile will give you the unlock code for your phone if you and the phone meet their requirements:
https://support.t-mobile.com/docs/DOC-1588