Hello there,
Virtual Secure Mode (VSM) has to be enabled in a special policy in the Group Policy Editor (gpedit.msc): Computer Configuration -> Administrative templates -> System -> Device Guard -> Turn on Virtualization Based Security. Enable this policy and select Secure Boot option in Select Platform security level. Also check Enable Credential Guard (LSA isolation) here. If you need to disable it just do the above steps in reverse order
More information here https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/tlfs/vsm
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--