How to solve this

C:\Windows\System32>curl.exe -LO “https://dl.k8s.io/release/v1.31.0/bin/windows/amd64/kubectl.exe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate.

Could be either your antivirus software getting in the way, or if you are using a corporate device, interference from the company firewall

Try adding --ssl-no-revoke argument to curl
If that doesn’t work, try instead -k argument