The easiest way to get it unlocked would be through t-mobile sending you an unlock code themselves, but it sounds from what you're saying like that might not be an option... When you say you couldn't keep up with it, does that mean you ended things with them without paying off the phone?