So yesterday morning I was using my Mac normally encoding some videos in HandBrake and installing some github repo installing some python packages system wide like a python package named b45. Then I shutdown my Mac normally then at night when I booted my Mac it won't boot. It would boot upto 80% then a loading symbol appeared. It never booted so I checked for hardware errors then disk errors reset the smc and pram, no luck! So I booted up in verbose boot and saw the following error: IOConsoleusers: gIOScreenLockState I had no idea what that was so I just restored my Mac from my Time machine Backup and it boots fine. But still I am curious what this error means?
PS. I googled my question and all the answers were related to hackintosh. I am running High Sierra 10.13.2