Have you gone through the steps in Remove SIM-lock patch generator - Top Sony Forums

follow the steps in that post and your phone will be unlocked, it also has how to patch it to 52 and so on...