Avast Antivirus and Internet Security is one such range of software that has this ability and has been able to restrict unauthorized users from changing its settings for some years.
While generally a good thing, it can also lead to issues if there’s a problem with the password stored by the software.
They cannot inadvertently leave the computer more vulnerable by disabling real-time protection or altering other configuration options which could weaken security. It’s especially useful if the computer is used by children or less experienced users. This is to stop unauthorized users from tampering with the settings of the program or disabling its functions. Many commercial or free antivirus and internet security applications will offer some sort of built in protection.