This will be a multi-part problem. If it turns on when you plug it in, I'd head to "What the power buttons do" in the control panel and change all to other than sleep.
You can try some canned air on the vents (power off, battery out) but this usually is a hardware issue.
My Dell Inspiron 15 3541 laptop shuts down automatically when AC adapter is plugged in (while on) and turns on automatically when AC adapter is plugged in (while off).
Runs on Windows 10

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic