IntelliJ IDE support engineer here. Recently other users mentioned multiple IDE freezes, including the Windsurf plugin. Re-building IDE indexes solves the issue temporarily, disabling the plugin solves it permanently
More information at
and related issues