There are many reasons. First try booting in safe mode. It happens that the problem in this case lies in the operating system. Or there are a lot of errors on the hard drive, you can verify this simply by running a check. Another reason may be updating the BIOS, some problem arose during the firmware process.