Guys while trying all the said above steps my phone(Moto G4 Plus) still had issues after sleep and was not locking itself.
Then after many tries, figured a thing, My phone Security Screen Lock was a PIN and this option doesn't have automatic Screen Lock timer. Changed it to a pattern and that...