Hello
It seems that you have already tried to change the password policy setting on gpeditor.msc locally without success. Another way to force a user to change their Windows login password periodically is by using the Command Prompt. Here are the steps:
1.Open Start, search for Command Prompt, right-click the result and select Run as administrator.
2.Type the following command to enable password expiration and press Enter:
wmic UserAccount set PasswordExpires=True
3.Type the following command to set the number of days a password can be used before Windows requires users to change it and press Enter:
net accounts /maxpwage:2
This will set the maximum password age to 2 days, after which the user will be prompted to change their password.
If the response is helpful, please click "Accept Answer" and upvote it.