Does Apple announce each model's end-of-life date (in terms of security maintenance) in advance?
Here's their vintage/obsolete products info page: https://support.apple.com/en-us/HT201624
This is one thing I think Linux distros could do better: not just advertising upgrades to the next release, but warning when the current release is (soon to be) no longer maintained.