Have a look here about what makes it easier for custom ROMs to upgrade to major android versions:
About the difference between /e/ and LineageOS, please do a quick search on the forum to find similar topics (e.g Advices changing OS). Fairphone Open is Fairphone OS without the google services, and that’s about it.