that’s why Chinese gov is using own version of Linux OS on theirs own variant of kernel …
any modern gov, fearing about it’s secrets would use Linux or FreeBSD based operating system and have control over the kernel source …
even if you had access to Windows source, who can warrant it’s not rigged with hidden backdoors anyway … too complex to be sure