I can think of a couple of things:
1. Make sure the Sonar window you are working in actually has the focus (click in it). For example, if the PRV is not the active window, it will not receive keystrokes form Windows. Clicking somewhere in the PRV ensures it has the focus.
2. Since Play is also not responding at the same time, it may be that another process is interfering. Common suspects are: Antivirus, Windows indexing service, Dropbox or Onedrive (if any files used by the project are located there) or even a Wifi card. You can check in Task Manager / Details tab to see what else is running. Also check the disk tab and see what disk activity is going on while Sonar is unresponsive.
I always disable AV and Windows Indexing for the sample and project folders.
Hope you both get it resolved!