You should be able to get back into your computer fairly easily, though if you can't remember your password, your keychain items may be permanently lost to you. This includes things like saved passwords, logins to various services, certificates, etcetera. Additionally, the "Other" option on the log in screen usually indicates that your computer is on an Active Directory or LDAP domain, in which case, you'll likely need your domain administrator to reset your password for you from the server. If this is a work computer, you need to work with your IT person. That option can also occasionally indicate hidden accounts have been configured.
If you understand the above and it is your own personal computer, then you can reset your password using the instructions found in
this support article on Apple's website. If you're running an older version of macOS, that may not work. If not, then there is one other option you can use to reset your password.
Nobody is gonna help you here bypassing passwords. If u are the owner, u may have to go through a restore-to-factory procedure. In the case of a bad keyboard, well, there is no software fix for that.
I think you might have confused this for an iOS device post. With a device running macOS, the procedure is very doable as outlined above. (Removed last part, since I was checking the wrong profile for this.)
Edit: Definitely try
@DeltaMac's advice first, though. Forcing a restart and trying to log in again may get you in, depending on how your computer is set up. Make note of what your username is after getting back in.