Flow was tested on windows (should work with linux and osx as well)
Latest version 3.7.0 worked fine for me, use older if not
I couldn't upload the file with the original cable, I had to buy a third party cable for few bucks from aliexpress and it instantly worked
move TWRP image to same directory as heimdall and run heimdall flash --RECOVERY twrp*.img --no-reboot
from the terminal
if you get success with the transfer, boot the device with power and volume up
release the power button once it starts to boot and keep holding volume up, TWRP will appear after the normal samsung galaxy logo
wipe the device to factory defaults
go back and do advanced wipe for system
get the Lineage OS package
Lineage OS 16.0 - Android 9.0
Lineage OS 18.1 - Android 11
optionally get google services
https://bitgapps.io/
while the device is plugged to your computer move lineage and other packages to the device root
use bitgapps instead of gapps pico or nano because they have a bug and will complain that they wont fit to the device
make sure to install Lineage first and then other apps
reboot and you should be done
https://www.fully-kiosk.com/#get-kiosk-apps
references
https://www.otstavnov.com/%D0%B8%D0%BD%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%82%D0%B8%D0%BA%D0%B0/gt-n8000-lineage-os/
https://www.mhs-solutions.com/instructions/