Several Windows users report After Upgrading to Windows 10, the System Not Respond and freezes at startup.

Open parameters, Update & Security and check for updates to install if any Windows updates are pending there.

Disconnect any external devices if connected.

Then after Restart windows, I Hope Next time Windows work smoothly without any huge memory usage.