Greetings,
Welcome to the forum.
I am not a HP employee.
This symptom is usually caused by a driver problem unless Power settings have been modified.
Do you know the specific Windows Update which has caused this problem? Uninstall the update. This is a work around but you have limited options.
Your PC is circa 2013. HP is not supporting Windows 10 on your PC and is not providing Windows 10 drivers for your PC.
So you must rely on Microsoft to provide currents drivers for system stability.
Check Windows 10 Update for driver updates.
Regards