I have an Android phone (version 5.1.1) with cyanogenmod (version 12.1). And after rebooting I cannot immediately unlock my phone. If I try to unlock my screen (lock style = pattern) immediately after rebooting I always get the message: "try again in x seconds" where x is counting down from 30 to 0. I find this very annoying, is there any way to disable this?
Edit: I just found out that I can actually unlock my screen before it asks me to enter my pin for unlocking my sim card. But when I do this it locks again as soon as it a asks me to enter my pin for unlocking my sim, and again have to wait 30 sec.