It's happened to me also. I fixed it by reinstalling mouse drivers, but it could be a hardware issue also.
You don't have to lose your work. ALT-TAB will switch between windows. Then hit ALT to go to the app menu and use the arrow keys then enter to select Save. ALT-Space brings up the window menu.