Yeah I like the idea of if it’s no longer receiving firmware updates but I suspect the tech companies would get around that by releasing symbolic updates that just bump the version number.
I would prefer something like after 5 years they have to unlock the bootloader and allow people to install anything. So you have 5 years to make a profit and then you have to open up the device.