NO you can't use t-mobile sim in your phone until you unlock it from AT&T network provider ...You can easily unlock the phone through online providers like ProUnlocking.com they are rendering network unlock code for all mobile models at reliable cost .You first check that whether the code is available for your mobile model ,country and network provider ...If yes then pay for it and unlock the phone then freely use it with any GSM sim ...