I was using 8 bit modifier and ScrollLock bit does not fit this. Also I was not generating ScrollLock keypresses