okay so i went through this with mine! it's actually a glitch on Windows ten. I'll bet if you don't go onto Youtube then it would still freeze right?. i actually learned how to fix this. (not before it reduced me to tears many times.)
first. go to you're start menu and bring up Cortana and in the search bar type in Disk Cleanup. select it and a small box will appear with a few options. you want to run Windows C: (may vary, typically it is the first option.)
Let it run, this may take a short while. when it is finished it will give you a selection of small tick boxes, you want to select all of them. program files, offline webpages and thumbnails are examples of what you will see in this selection. once you have selected all of them, hit Okay.
it may wish to restart, let it. if it does not, restart manually.
once you have restarted your computer,go down to your start icon and right click it. this will bring up a selection of options. click Run. this will bring up a small search bar asking you what you are looking for. type in Temp.
this will bring up a large list of programs. using your mouse, or the CTRL A, select every single file. now hit delete. this will delete all temporary files on your computer. (don't worry, anything you computer is currently using will not be deleted.) options may appear saying that an item cannot be deleted. simply press Skip and it will continue. do this unti it finishes.
Restart again. this will make sure the deletion is 'registered'.
Go to Cortana again and type in Defragment. it will bring up an option that says 'defragment and optimize'. open it. it will open a new window. fine Windows C: it should be the first option. select it and click the button underneath that says 'optimize'. this may take several minutes. let it finish ad try not to do anything on your computer while it's running.
restart again and the freezing should be stopped. if not. go to Cortana, type in Support. this will bring up an option that says Contact Support. they will be able to assist you if this process doesn't work.