// Below produces an error since ScrollLockOn is a modifier
Sorry I missed this comment when I answered a moment ago.

ScrollLockOn is a state. The name of the key is ScrollLock. You can use the ScrollLock key to trigger a hotkey like this:

Code:
<Hotkey ScrollLock>
   ....