CapsLock and WinKey in Warthunder

I disabled Capslock and Winkey to use them as more macros in Warthunder and on Dastop and every other game they are disabled but in Warthunder they magically enable themselves and I can’t use them!
It’s already hard to disable them for Windows but now warthunder how I do this.