i just by unlocking your iphone from AT&T network lock you can freely use it with your t-mobile sim card ..You can easily unlock your iphone from AT&T network lock with the help of sites like Unlocking4u.com here they will unlock your iphone using remote unlocking service for affordable cost .....