Magento 2 is a famous Online business stage because of its elements like versatility, execution and generally significant, security! Nonetheless, one of its security includes that says, "now is the ideal time to change your secret word" is irritating for the designers working in the improvement climate or on a demo server.
Magento 2 administrator is mentioned to change the secret phrase every once in a while for security reason. It's a decent component to keep your web-based Magento 2 store secure, however in the event of the improvement mode, it tends to disturb. You can disable password expiration in Magento 2 with the below method.
For more info, visit : https://meetanshi.com/blog/disable-password-expiration-in-magento-2/