The trust chain can be broken in thousands of ways, so picking apart the specific failure might need some back and forth.
The good news - you can easily reset a password or make a new admin account so you can su
to that account, then sudo
or just enter the other user/password combination to unlock system preferences since any account can be used in addition to the logged in account to authenticate in macOS
Here's the reset one, two official article and article here on just making a new admin account by re-running the out of box setup process:
Also, use locale specific keys or emoji password with caution. You might retain one admin account and password with a long but boring standard locale typable password.