The cover presence switch prevents the computer from logging in to the operating system when the computer cover is not properly installed or closed.
Restart the computer. When the logo screen is displayed, press F1 or Fn+F1.
Select and press Enter.
Select Enabled and press Enter.
Press F10 or Fn+F10 to save the changes and exit.
Properly install or close the computer cover.
Enter the BIOS menu, save and then exit.