Domain Services for Windows (DSfW) supports all Group Policy settings that apply to Windows servers and workstations. Group Policy settings that apply to domain controllers (such as Password policies) are not supported in the OES 2018 and later environment. The Password policies for DSfW users are controlled by eDirectory and the Universal Password settings.
For more information see, Managing Group Policy and Fine-Grained
Password Policy Settings
in the OES 2018 SP2: Domain Services for Windows
Administration Guide.