Since stock isn’t getting any updates, you might as well stick with DivestOS (or whatever OS is installed on your device) & relock the bootloader if the current Android version is capable of running all the apps that you use. If not, flashing Lineage (or any other well-maintained custom ROM for your device) sounds okay too.
3 Likes