A short search for 'Scroll lock in linux' leads to various posts which all end up recommending
Code:
xmodmap -e 'add mod3 = Scroll_Lock'
to activate the Scroll Lock key. As long as you're using X11 and not Wayland this will work. The LED toggles on and off and the only program I know in which the state of scroll lock has an actual influence reacts as expected (LibreOffice Calc, the state of scroll lock changes the function of the cursor keys; scroll lock off -> move the cursor, on -> move the viewport).
Holger