You need to format the phone in order to remove its password. To do this, turn it off then press the following buttons:
* + 3 + call + Power on. You will be asked to provide the security code in order to continue the operation. Type 12345 when asked and wait for phone to finish all the pending operations.