How to unlock number lock in android 6.0 when i removed the SD card and restarted my smartphone , oddly the pattern lock that i had set was no more and i got a number lock instead.

I tried using googles device locater but it could not locate my device. How do I unlock my phone now
enter in the numbers of in the same order and location as where the dots would have been in the pattern unlock EG

...   123
... = 456
...   789


so if you pattern was a square then you number pin would be 13269874 that would be a square starting at the top left corner. if this dose not work for you then you can always flash stock img with cmd and restore form back up