@turtletrumpet, every GCode source has its own M552 setting. So when you send M552 P2, it affects only the channel that you send it from.
The USB and Telnet channels default to Marlin emulation anyway, so if Octoprint is connected via USB or Telnet, it should work anyway without sending M555 P2.