My wife uses Vista era laptop, from 2007. Still works great at 2023, changed it to have SSD disk and 8 GB RAM, running newest Linux Mint.
Newest Windows, macOS and ChromeOS only works on newest devices. After that, just install Linux. For example, 2 weeks ago I installed Debian 11 to Chromebook https://github.com/xet7/chromebook
Mac and Windows laptops will probably run the latest OS for more than 8 years. Still, I don't see why a school should buy a more than 1yo Chromebook, so that leaves 7 years of support, which is fine. Most likely dies from 2% milk before then.