You can kind of do this by using AutoHotKey.
Once you have installed it, it creates a file called AutoHotkey.ahk
in your Documents folder. Replace the default content with the following:
!Up:: oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" newState := GetKeyState("ScrollLock", "T") ? "Off" : "On" SetScrollLockState %newState% Send SetScrollLockState %oldState% return !Down:: oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" newState := GetKeyState("ScrollLock", "T") ? "Off" : "On" SetScrollLockState %newState% Send SetScrollLockState %oldState% return !Left:: oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" newState := GetKeyState("ScrollLock", "T") ? "Off" : "On" SetScrollLockState %newState% Send SetScrollLockState %oldState% return !Right:: oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" newState := GetKeyState("ScrollLock", "T") ? "Off" : "On" SetScrollLockState %newState% Send SetScrollLockState %oldState% return
Afterwards you need to run the AutoHotkey.exe
program and it will put an icon in the system tray to show that it is running.
Now you can use Alt to temporarily override scroll-lock when pressing the arrow keys.