Disclaimer: this is the exact same question as this one but on Windows 10.
I use two different keyboard layouts on Windows 10 (French AZERTY and US QWERTY, not that it matters), both in the English language. I can switch easily with the Windows + Space shortcut which lets you choose between the two.
However, the keyboard layout keeps changing automatically from one to another (at least from French, which I use 95% of the time, to US) and I cannot figure out why. I am absolutely certain that I do not press Windows + Space by mistake, and I am also sure that I don't press Alt + Shift by mistake (which was a key combination that used to allow changing keyboard layout, but apparently doesn't anymore – at least not on this computer).
I have an autohotkey script running in the background but I did not find any hotkey that seems to be able to trigger a keyboard layout change.
Does anyone know how to avoid involuntary layout changes?