If you lock the device via My Kaspersky, you can unlock it.
To unlock the device:
Your device will be unlocked.
If you do not remember the secret code, you can recover it on My Kaspersky.