Such problems are caused by software conflicts, inappropriate drivers, and system problems. You can restore the system, or you can't reinstall the operating system. Do not install software, patches, drivers, and so on. Check to see if there is any problem with the boot?If you are not installing drivers, patches, and software step by step, you should not install anything that is inappropriate.
If the problem of power-off cannot be solved for the time being, power off the machine in this way.Right click the task bar and select/Task Manager. Hold down the Ctrl key. Click "Shut Down"/"Close" on the task manager page with the mouse, and then release the hand pressing the Ctrl key to wait for the shutdown (I have been shutting down this way for five years, which is safe and fast).
The direct power button forces the machine to shut down and unplug the power, then remove the battery, press the power button for 10 seconds, discharge the electricity in the notebook (generally, the capacitor will have a little electricity after the battery is removed), and then install the battery to see if it returns to normal.Your situation is usually a software problem.It's a big deal to reinstall the system (the simplest way is to open 360 Security Guard. There are more functions in the lower right corner. Click Open to find the reinstalled system in the non added system. Click Follow the steps. It's ok). I hope it can help you to adopt the system installation for about 40 minutes
ZOL Q&A>notebook>system>The laptop could not be shut down. After each shutdown, the user logged off and entered the login password interface. I don't know why.