Local user Password Must Expiry to override the "Password Never expires Flag"

Is there away in Powershell DSC to disable the local user (non-domain) account “password never expires” option?

Even Administrators of the computer also should not get option to check “Password never expires” flag …Policy should enforce over Password nerver expires Flag

The DSC forum is over there —>

You should be able to use the DSC User Resource for this:
https://docs.microsoft.com/en-us/powershell/dsc/userresource