Changing the password blocks someone from signing in with the old password. However, they may still have an active session, a forwarding rule, access through a connected app, mailbox permissions, or a recovery method they added.
How Hackers Keep Access to Your Email After You Change the Password
Next
Next