Hello Everyone, Even I had the same issue with my G4 plus. To resolve it go to settings-Security-Trust Agents-Disable smart lock (google). Now the screen should be locked with the pattern or pin whatever lock options you have chosen.
Hope this helps!!! :)