Both CalyxOS and GrapheneOS provide regular automatic security updates for your devices. This support period ends for your device at a certain date, but your phone should continue to work at full functionality, especially apps not-dependent on Google Play Services.

CalyxOS: August 2023
GrapheneOS: October 2022