You can try to reset the phone's security code using the following format in dialer: *#7328748263373738#. However, go to settings and change or reset your security code using the default one which is 12345. If totally forgot the security code, you might need to visit Nokia service to get the phone fixed.