1. First, open the Local Group Policy Editor. In command prompt, type "gpedit.msc"
2. Navigate to Computer Configuration - Administrative Templates - Windows Components - Windows Update.
3. Double click the "Configure Automatic Updates"
4. Choose "Enabled".
5. Choose "2- Notify for download and notify for install" or "3- Auto download and notify for install" to prevent windows install
update automatically.
6. Click Apply button to save the change.
7. Now, go to the Settings app, Navigate to Update & Security - Windows Updates
8. Click "Check for updates" and then select "Advanced Options".
9. "Some settings are managed by your organization" shown. The Group Policy setting has been applied.