If Windows 11 is sending alerts that you need to turn on virus protection and your PC is unprotected, don't worry.
Per Windows Latest, “in our tests, we found that the Windows Security app, which manages Microsoft Defender Antivirus, ...
Your antivirus is probably just fine; here's how to check.