S8nce you did not specify if your system is a laptop or desktop. I have read that a few wifi cards will cause a win10 system to freeze while the drivers are loading. Try this
Restart your PC. When you get to the sign-in screen, hold the Shift key down while you select Power Power icon
> Restart.
After your PC restarts to the Choose an option screen, select Troubleshoot > Advanced options > Startup Settings > Restart.
After your PC restarts, you'll see a list of options. Select 4 or F4 to start your PC in Safe Mode. Or if you'll need to use the Internet, select 5 or F5 for Safe Mode with Networking. Select no networking see if the freezing stops. If you system boots normal than the wifi is the cause. If not troubleshooting begins.