Update your post to include full system hardware specs and OS information.
What virus was detected, what AV app, and how was the virus removed?
Look in Reliability History: Any error codes, warnings, or informational events being captured at the times when logging in caused a freeze up?