Question My lenovo laptop Freezes completely when you connect a charger

Mar 17, 2020
1
0
10
Its a lenovo Ideapad 330s-15IKB running on windows 10. It works normal on battery power but as soon as you connect the charger the screen becomes dark and everything just freezes until you take out the charger and restart it.
I have to turn it off before i can charge it. Please help