I managed to set a wrong PIN code for the android lock screen. Fortunately, it can be removed in some situations. Precondition – must have adb enabled in root mode, and android device manager active.
1. remove *.key from /data/system folder by adb shell
2. reboot, and now lock from android device manager, it will allow and actually set a temporary recovery password for you