As the laws differ in different countries and states, this is a presumptive legal absurdity. Much more likely is that in some nanny jurisdiction there is a regulation the manufacturer must comply with to provide this feature. And even there it’s unlikely to prohibit disabling.