Hello, as long as your 521 has been on an existing T-Mobile account as the activate phone for at least three or four pay periods, then just directly contact T-Mobile customer support and ask for an unlock code. It should not take more than a day or two to send the code to your designated email if everything clears. If you do not have an existing T-Mobile account, then I advise outside sources