Change an email account password in Outlook webmail

Click on profile icon ❯ My Microsoft account ❯ Security ❯ Enter password to access personal information ❯ Password security ‘Change my password’ and enter the Current password then the new password twice