I did exactly the same thing yesterday and had the same issue. However I found the solution adding the keyboard layout to the X11 as well, with the command
# localectl set-x11-keymap br abnt2
You must change the "br abnt2" to your keyboard layout, however
Also, pay attention because there is a bug at the sddm login screen that doesn't show the correct keyboard layout until you start typing, so don't worry if at the beginning is "US". Just start typing your password and take a look to see if it changed to your keyboard layout
Edit: you may wanna enter TTY3 to make these changes. Just press Ctrl+Alt+F3 to enter TTY3 and after you're done press Ctrl+Alt+F2 to be back to the previous display. You may wanna also restart your computer