So he/she should ask their cell provider.
Yes you need to call Tmobile support and tell them you need the PUK code to unlock your device. Please pay close attention to the numbers and * and # codes you need to enter or you can lock your device forever.
PS. Yes I used to work for tmobile tech support.