Hello,
Thanks for your replies.
I've got the conclusion, this issue was probably caused by Java, my stepdad tells me it's a bad application with security leaks, and it would've caused this, as Minecraft itself can't do it.
I am using Wi-Fi and my stepdad have looked through his router app, maked sure it's not the internet who caused Minecraft to do this. The router still says I have internet, although I have a warning icon besides my WiFi staples.
I am not administrator of the computer. But installing Minecraft with the msi requires administrator login in the setup, and I got my stepdad to do this, even though I got the error.
I can't figure out how to turn on Airplane mode, can't find it in settings.