Well since this is a T-mobile phone, you call T-mobile and tell them you need the Subsidy Code, to allow you to use the phone in Europe while you are on vacation or business, so you can use local prepaid SIMs while there.
Cost? Nothing. Well it costs the time it takes to call customer service.