Hi.
Method one:
Has any software or update been downloaded to your computer recently?
It may be due to a software or update that is causing the Please wait for the page to take a long time. You can try to uninstall or roll back the update.
If that doesn't fix the problem, did you set a restore point before, and if so, restore the computer to a date when it was working fine.
Method Two:
Win+R input "msconfig" > general > click "selective startup";
Switch to the "Services" menu bar > click "Hide All Microsoft Services" in the lower left corner > "Disable All" > "OK";
Finally, switch to the "Startup" menu bar > uncheck unnecessary startup software > "OK".
Hope the information is helpful.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.