Password policy configuration

I had a question regarding local user management. Is there a configuration or service to enforce password policies for local accounts? Complexity, length etc…