i remember that happened to my laptop once, i could go to some websites and receive an error for some. i couldnt get any update from microsoft and i couldnt update my antivirus either. i had an idea from nowhere that told me to download and run malwarebytes. i did, it found 67 infections on my laptop. i removed all infected files and my computer was back as normal, i could receive updates from microsoft and antivirus. that was my story, it can be yours too. download and run malwarebytes if found any infection post your log and a specialist will help you.