Login password not accepted on my MacBook Pro
I have a macbook Pro and cant log into my account when booting up it goes to ordinary password screen, but won’t accept valid password. If I press Enter with no password, it takes me to a different login screen with fields for both Name and Password. When I try to enter a username, it produces weird characters - non-English language characters and punctuation, mathematical symbols etc. And the password field only accepts some keys, it produces a refusal beep for others but seemingly quite random.
I tried getting to safe mode but it is not working and once it rebooted to safe mode but I still couldn’t login, and now I can’t even get back there.
[Re-Titled by Moderator]
MacBook Pro 15″, macOS 10.14