Please note that the domain policy will overwrite the local policy. You can refer to the following article for more information:
Apply or modify password policy
Domain Level Account Policies
Hope the information is helpful.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?