Scroll lock is a rarely used lock key found on PC keyboards. In Microsoft Windows, there is no defined behaviour and the key is vestigial. Some programs such as Microsoft Excel have custom behaviour associated with this key.
To paginate command line output in both Windows and Linux, the output could be piped into a paginator command such as more or less, for example:
dir C:\Windows\system32 | more
Terminals from Digital Equipment tend to have a key which halted output. The DEC VT100 has a NO SCROLL key in the bottom-left corner. The F1 key in the top-left key corner is mapped to Hold Screen on the VT-220 (DEC LK201) and to Hold Session on the VT-3x0 (DEC LK401). Some keyboards also have an indicator LED for the mode.
Acorn MOS does not support a scroll lock key. Instead, paged mode is enabled via control+N; after each page of output, both the caps lock and shift lock lights illuminate, and the system is halted (OSWRCH does not return) until shift is pressed. Control+O releases paged mode. There is no tactile or visual indication that paged mode is engaged. One might imagine that scroll lock would provide a similar behaviour under Windows, but it does not.