"Decryption unsuccessful" after switching to LineageOS

It shouldn’t ask for your old pattern, then. Simply, it shouldn’t have it recorded, and the internal storage should be clean (and unencrypted).

Try to wipe your internal storage with the WipeFormat Data option in TWRP, which removes encryption and ensures your data is deleted, as well.