To check if this issue is caused by some add-ins, please try starting Access in the Safe Mode by the following steps:
1. Close all Access windows;
2. Press Windows key + R to start Run:
3. Paste the following command into Run: msaccess /safe
4. Run you Access query in the Safe Mode and see if the issue would appear.
Meanwhile, as you mentioned that other Office applications also have a similar "not responding" issue, I'd suggest that you try performing a clean reboot to check if this behavior is caused by other applications installed on your PC.
If my above information couldn't help, please also open Access > go to File > Account > capture a screenshot of the version information and let us further investigate it for you.