First you will need to contact Tmo for the unlock code. Depends on which state you are in, it could be 2 weeks, it could be 1 month before they can send you the code.
Then you can use your phone with any GSM carrier for voice. For data, I know 2G / EDGE would be no problem. For 3G in other countries, refer to the response above =)