Got stuck preparing to install LineageOS

Did you have a look already here?

I would say, you successfully made Step 3.
Either you continue with step 4, or you go to step 5 for exit the mode.
Did it help?