Hello Shanthat, I am Andrew. When you leave your computer on the blue screen asking you to wait where the dots still circling? It may have been installing updates which Ive recently seen take 2 hours or more even.
As for the frozen laptop issue you can hold the power button down 5-10 seconds and it will turn off.
Turn it off, let it reboot and if you get the blue screen asking you to wait and the circles are spinning please wait. It could be a large update installing.
Kind Regards,
Andrew