When Apple vocally switched sides to support California’s “right to repair” law, I knew there had to be a catch. Cory Doctorow explains the catch eloquently.

Apple uses VIN locking or parts pairing which is a process also used by car makers, printer manufacturers & Medtronic ventilators that requires a secret code from the manufacturer to enable replacement parts to be recognized. Bypassing it violates the DMCA which as a federal law beats state laws.

Checkmate!
https://pluralistic.net/2023/09/22/vin-locking/#thought-differently

Pluralistic: Apple fucked us on right to repair (again) (22 Sept 2023) – Pluralistic: Daily links from Cory Doctorow

@carnage4life There is a clear indication of why regulation is so necessary. What is needed is not only a right to repair, but also clear rules that obsolescence is not possible due to a lack of security software updates. As Google has now announced 10 years of SW updates for Chrome Books, certainly not out of charity, but because 10 years are possible with standard PCs. This should also be standard for mobile phones.
None of these greedy companies will provide this without pressure.