Don't forget how Dell included/includes DRM in their laptop chargers to prevent customers from buying cheap aftermarket replacements. Of course the wire for the DRM functionality is as thin as possible and is always the first thing to break.
They don’t prevent you from using aftermarket chargers. They just display a warning, which can be disabled in the BIOS.
They also set CPU speed to minimum.
I don't know what it's like currently, but when I stopped using Dell laptops a few years ago they wouldn't even boot if the battery was dead and you plugged in a third party charger or a charger with a busted data cable.