You need to buy / make either a T28 service cable, or a usb service cable. The software is free now. It's called semctool. If you kind find it (seems to be everywhere now) I'll upload it here later.
There's no free way to calc the unlock codes for these.