Screen lock not working in Moto z play I recently got into an issue with my Moto z play screen lock. Pressing the power button doesn't lock the screen. I have enabled pattern lock option for screen lock. But still only after booting up it asks for the pattern. But later on when I lock the screen by pressing power button , I can unlock by just swiping the screen. Anyone knows what's the issue?
It could be (depending on your Android version) there is an extra option called


  powerbutton locks immediately


if that is not selected it could be the problem. You could crawl the security settings for more options.