Keyboard stops working

Strange problem. I recently upgraded my system to win11. In 99% time it works perfect, but I have this problem twice: after I quit Renoise and open it again, computer keyboard not working at all. The same keyboard works in every other program in my system, but not in Renoise.

Has anyone had such a problem? After system restart - everything works perfect.
It’s very rare (so far twice and I have win11 from about 2 months) and I don’t really know why it happens.