In the Windows Security app, you'll find a setting called Controlled Folder Access. Microsoft recommends keeping this setting ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible resultsResults that may be inaccessible to you are currently showing.
Hide inaccessible results