Welcome to Microsoft Q&A Platform.
Password protected sharing option is not applicable for machines that are members of a Domain.
Password protected sharing option is turned on by default, therefore you’ll be asked to enter your credentials while accessing shared data.
If you want to disable it, refer to this article for detailed steps.
[How To] Turn Off Password Protected Sharing In Windows 10
https://www.kapilarya.com/how-to-turn-off-password-protected-sharing-in-windows-10
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.