Please first check whether maybe something is different on your PC than it was a few fays ago. E.g. if you have some tool running that also hooks into games which wasn’t there before. If you happen to have the Windows system restore functionality enabled (unfortunately its off per default in Windows 10 for some reason), try to go back to a restore point from before the issue started to occur.
Apart from that: running games windowed instead of fullscreen can often help with such issues.