If you find that Windows 10 keyboard layout keeps changing then here’s the fix. To stop the keyboard layout changing in Windows 10:
Type language then select the Language Control Panel item and hit enter
Hit Options next to the language that displays the wrong keyboard layout (or remove click remove if you don’t use this language on your computer and you have the correct language listed also. In this case, Windows 10 keyboard layout will no longer keep changing and you don’t need to do the steps below)
Add an input method, choosing the correct keyboard layout (language)
Remove the incorrect input method and click Save
Windows 10 should no longer keep changing keyboard layout.