I would be working on my PC and a popup will show saying update complete and time for a reboot. Don't even realise it's updating half the time.
Rather than give me the option of rebooting later it forces a restart. Frustrating as <profanity> when you're mid way through work.
Tried googling solutions to no avail - turning to the OzB tech gods for help.
Hold Windows Key + I together to open the Settings Window. Navigate to Updates & Security and enable "Adjust active hour to reduce disruptions". This will stop any auto updates from restarting the PC.
If it's a work issued device then you probably missed the deadline for a deployed update or went pass the grace period. In this instance the computer will restart automatically.