in the stand by mode enter the following code :
then when the lock code needed enter :12345
another method :
go to Menu then Settings then Restore factory sett. then Restore sett. only.
when the lock needed enter : 12345
note that : all your phone data will be lost so , please backup your phone before starting.