Thank you so much for posting here.
Microsoft removed the password function via group policy due to security consideration. We could use LAPS to manage local admin password. It is easy to set up and automatically manage local admin password on domain joined computers.
For more information about LAPS, please refer to:
Hi, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.