Analysis of information sources in references of the Wikipedia article "One UI" in English language version.
Google launched its seven-year software support pledge alongside the Pixel 8 series in 2023
...the Galaxy A71, Galaxy A31, Galaxy A11, and Galaxy M11 are removed from the list (supported devices on the Samsung Mobile Security website)
Samsung announced [on August 2020] that it's going to support select devices for three Android OS upgrades. The eligible devices don't include Galaxy S models released before the Galaxy S10. All previous models are not eligible.
It won't receive Android OS updates anymore. However, it will continue to get security updates for the rest of the year.
Samsung has ended update support for the Galaxy Z Fold 2. The 2020 foldable is no longer eligible for new software updates, not even security patches. The Galaxy A02s and Galaxy A12 are also done getting new updates from the company. These devices will not receive the January 2025 security patch either.