Keys lock not working in performance modes

I’m using scaler 2 and whenever i lock the keys, lets say to white keys only, and the other modes too, and any arpeggio or performance mode is playing, every note i play, gets indefinitely sustained, until i close the plugin or press the midi panic button. Any idea?? Thanx