It doesn’t stop working at all. It stops getting free OS updates, presumably because there are many dozens of hardware configuration to manage, and having fallen into that trap once with Android devices, they didn’t want to immediately jump into the same pit a second time.