A shot in the dark. I do not have access to an MSI laptop, but I believe the more recent ones use " ECO power management " ?
I believe your problem is in the Bios, not in the OS. Can you look in the bios and see if there is an option to turn off ECO or customise the settings?