Lately I started experiencing the above problem. Visual Studio 2010 would frequently freeze up for a few seconds and then unfreeze itself. When it does this, I cannot type or do anything in Visual Studio.
Luckily I found a solution that works for me. Launch Internet Explorer. Go to Internet Options, then Advanced tab. Under the Security group, untick “Check for server certificate revocation“. You may need to restart Visual Studio.