Windows 11 is currently available as a part of Microsofts early access Windows Insider Program.
As with any early access, some users have encountered bugs and other issues along the way.
The latest problem seems to cause difficulties with the Windows Security program.

Microsoft
TheGet-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackagecommand string should fix the issue and allow you to use Windows Security program again.