Hello,
Thank you for posting in the Microsoft Community Forums.
It only works if your computer's hardware supports EFS.
Please refer to the following links: Windows 11 home device encryption - Microsoft Community
I hope the information above is helpful.
Best regards
Yanhong Liu