iPhone switching on when plugged in and I really don't want that

Plug it in, then turn it off. Has worked 100% of the time for me. You just have to get into the habit of doing this. Takes time and a little willpower.