Add the language, not only the keyboard
Windows groups keyboard layouts under a language. Adding the layout without the language works, but the input indicator and the spell checker behave oddly.
Settings > Time & language > Language & region > Add a language