reflash again with OFW
if still problem goes to Nokia care maybe have problem with your hardware
Thank you very much to all of you for your help.
Problem is solved by taking it to a service shop,they did the same,flashing,but with a professional flashing device,now the phone is working fine,lock code is recovered,i was unable to recover it even after flashing.
Thank you all.