Changing the LsaCfgFlags from 1 (enabled with UEFI lock) to 2 (enabled without lock) on a server running Credential Guard can lead to potential issues during the reboot process. Since Credential Guard with UEFI lock is designed to prevent modifications to its settings via the registry, attempting to change this value may not take effect as expected. The server may revert the registry back to 1 upon reboot, and there is a risk of encountering boot issues such as boot loops or BSOD (Blue Screen of Death) if the system does not handle the change gracefully.
It's important to ensure that you have proper backups and recovery options in place before making such changes, as the behavior can vary depending on the specific configuration and environment of your server.