Windows 11 can now open RAR, 7-Zip, and other compressed files natively... but there's a catch
You can now un-RAR a RAR file in Windows 11 without the need to install WinRAR. But, there's no current support for password protected files.
Source: tweaktown.com