Before you start: create a System Restore point so you can undo changes, and sign in with an administrator account. Some steps need Command Prompt (Admin), which you can open with Win + X.
- Open Settings, and click/tap on the Search icon.
- Click/tap on Permissions & History on the left side, and select (dot) the Strict, Moderate (default), or Off for the SafeSearch setting you want on the right side.
- When finished, you can close Settings if you like.
Still not fixed?
Run the general Windows repair sequence: install pending updates, then run DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow, and restart. If the problem started recently, restore from a System Restore point. You can also browse more Security & Malware guides.