Try codes like 0000 or 1234.If it does not work reach the nearest mobile center and get it reset.If your mobile is network locked then you need to unlock it too.If you need to unlock phone, I suggest you can approach unBBlock.com (for Blackberry) or Simpleunlocking.com and get the permanent unlock service.