what are the specs of the PC?
Detach any additional USB devices or external HDD/printers, make it simple for PC to start (though hardware is likely to cause problems before login screen)
On another PC, download the
Windows 10 media creation tool and use it to make a win 10 installer on USB - hopefully just a boot drive
Lets see if we can get to safe mode using USB but often it will be missing the Startup options choice in the advanced menu, worth a try
change boot order so USB is first, hdd second - or press F12 to choose USB at boot
boot from installer, on 2nd screen after languages, choose repair this pc, not install
choose troubleshoot
choose advanced
choose start up options
hit the restart button
choose a safe mode (it doesn't matter which) by using number associated with it.
PC will restart and load safe mode
If safe mode works, see if it freezes up here (might mean its a driver problem)
If safe mode doesn't work, simply getting into blue menus might be enough to show its not hardware
try doing a startup repair, its in the advanced menu, it might fix the login problem.