My password is not working in System Preferences unlock prompt
You're not an administrator. In the list of accounts, your account shows as Managed, not Administrator. The credentials asked for in that prompt are that of an administrator, as asked for by ‘Enter an administrator's name and password’, which means you should enter the other user account's credentials. The username field is only autofilled when you are currently logged in as an administrator.