Fake antivirus popup problem

Are you using Windows 11?

This thread discusses problem that sound similar to what you’re describing:

The annoyance that is Windows 11 - In My Humble Opinion - Straight Dope Message Board