Disable Automatic Restarts in Windows 10 Home Anniversary Update
Computer Configuration > Administrative Templates > Windows Components > Windows Update
.HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
If for whatever reason the approach above doesn't work, you can get around automatic reboots by changing your windows update settings so that you only download updates automatically and it requests approval before installing them. Once you approve installation you are at the mercy of when Windows reboots, but you have the ability to otherwise indefinitely delay it.
To change this setting:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update