To enable Data encryption in Windows 11/10, you must have-
Trusted Platform Module V2.0.
Modern StandBy support.
UEFI firmware.
The best way to check if your device meets all these requirements is by using the System Information panel. Here you can find the missing parts that you do not have to enable this security function.