I'm sorry to hear that you're experiencing this issue. I'm happy to help.
Does the freezing issue occur only with Minecraft, or does it affect all apps when downloading?
Try uninstalling and reinstalling the Windows Store.
Press Windows Key + X and choose Windows PowerShell (Admin). Copy and paste the command below and hit Enter.
Get-AppxPackage -Name "Microsoft.WindowsStore" | Remove-AppxPackage
Note: Please complete the process before proceeding.
After that, reinstall the Windows Store. Press Windows Key + X and choose Windows PowerShell (Admin). Copy and paste the command below, then hit Enter.
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Wait 2 minutes, then reboot your computer and try again.