If you are not a customer you will not be able to get it unlocked from T-Mobile. You will need to find a service online that you can buy an unlock from. There are many to be found if you google. You can find the T-Mobile requirements for unlock here.
Manage your T-Mobile account