Same for me, But OSX seems to have a similar issue at least on my MacBook Pro M1.
I occasionally get the multicolor disk spinner which locks all UI interactions for a few seconds (10-30s) until it unfreezes and works as before again...
Haven't been able to figure out the exact cause for it, feels very random.