Yes, by password protecting, you’d need to enter a password to disable Avast. Bearing in mind, that the default is set to no anyways.