I had the same issue with my mapped network drives from work since win 11 upgrade. Explorer kept freezing on startup unless my VPN was connected. Tried the reg edit above, didn't help.
Fixed it by opening File Explorer Options ->'General' tab -> 'Open file explorer to' was set to 'This PC' changed it to 'Home'.