Hello Smile,
You might check to see if you have a option in your antivirus program's settings to see if you may have an option to scan USB, external, or removable devices when connected enabled. If so, this may cause your computer to temporarily freeze up like this since the external drive is being scanned. Disable or turn off that option to see if that may help.
Hope this helps,
Shawn