When I draw my unlock pattern for my Android Coolpad legacy phone after restarting it takes 1 1/2-2 minutes to check then it says to unlock your phone power on then off your device
If Phone keeps restarting after unlocking, remove sim card, switch off the wifi (on phone, if not then router) and try to unlock. I got mine unlocked after a dayof trying to unlock