Microsoft Outlook Team has released updates for Outlook 2010 and 2007 that provide Office 365 users with password expiration notifications. The advance password expiry notification will be displayed in a pop-up message (near the system clock) within a certain time period before their password actually expires. That time period is configurable by the Tenant Admin (see links below for more info). For users whose passwords have already expired, Outlook will flash an error message when users try to connect to their mailbox. In both scenarios, Outlook also provides a link (URL) to update passwords via the browser. When users click on those links, they are taken to Microsoft Online Portal to change/update their passwords.
KB: 2745588 Outlook password expiration notification in Office 365.
for more details and Videos, please check the Source.