Fortunately, you should be able to get your network provider to unlock the iPhone for you, and often they’ll do this for free. In fact, you might even be able to do it yourself. In this article ...
How to unlock an Android phone on T-Mobile The process will vary slightly depending on your phone's manufacturer, but you need to connect your device to the internet or T-Mobile network.