@hellomiakoda Okay, I hope this helps. Probably the easiest way to fix it is to boot up on a rescue/install medium. Mount the misbehaving boot disk, e.g., to /mnt. Then (add /mnt to all file paths) (from superuser.com):
Navigate to /var/run/faillock (*), this folder should contain a file with the locked username
# ls /var/run/faillock
myUsername
Remove the file with the username to unlock
# rm /var/run/faillock/myUsername
* This is called 'tally directory' and its location depends on your system's configuration, which is likely to be found at /etc/security/faillock.conf