I feel like a broken record at this point, but putting LineageOS on it still doesn’t fix the issue of no driver and firmware updates and you sacrifice secure boot, which makes the whole thing not worth it imo.
At least go for DivestOS which does support secure boot whenever possible. Even then, there’s no making an end of life phone secure. You can only do harm reduction.
This device has been eol for years. It’s a major security risk. Get a supported phone.