388
Stop Using Your Face or Thumb to Unlock Your Phone
(gizmodo.com)
This is a most excellent place for technology news and articles.
Your situation is more likely to be caused by Android's system to make sure you don't forget your pin. It has a number of unlocks (and a length of time) before it forces you to do the code.