To unlock your phone put a sim from another company,
  now type *#9998*3323# it will reset your phone. Push exit and then push 7,
  it will reset again. Put your other sim in and it will say sim lock,
  type in 00000000 then it should be unlocked. Type in *0141# then



  the green call batton and it's unlocked to all networks.
  This code may not work on the older phones and some of the newer phones.
  If it doesn't work you will have to reset your phone without a sim in it
  by typing *#2767*2878# or *#9998*3855# (not tested)