HI there please follow the details below.
*2767*3855#Use this to reset your phone if you have forgot your pin numberTurn of phone remove battery, then remove sim card, replace battery without sim card, turn phone on and enter code, then wait for phone to reboot itself (do not turn phone off as this could cause problems, so make sure plenty of charge is in the battery). When it has rebooted it is now unlocked. Warning ! if you have anything on the phone you would like to keep then back it up as it will wipe all the memory!