If you have contract with AT&T, why are you paying to have the phone unlocked? AT&T does it for free with no waiting period unlike T-Mobile. I renewed my contract last year so I could give my wife an Optimus G Pro for her to use on T-Mobile. The day I got the phone, I called AT&T for the unlock code. AT&T gave it to me right away at no cost, no questions asked. you can also try https://www.att.com/deviceunlock/client/en_US/
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?