Thank you for asking this question on the **Microsoft Q&A Platform. **
I had a similar request; I resolve it by configuring my Azure AD Connect with Pass-through Authentication
(https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-pta)
It's A little bit complex that password hash synchronization
However, you can guarantee that your Azure AD has the same policy as your on-premises environment.
Hope this helps,
Carlos Solís Salazar
----------
Please "Accept as Answer" and/or Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.