how i do it
You need to be a Tmobile USA customer and meet the requirements in the link below.
If you never were a customer they can't issue you an unlock code.
Unlock your mobile wireless device
Retrieving data ...
Manage your T-Mobile account
Use the T-Mobile App or your My T-Mobile account
We're here to help