Moving an icon on the dock triggers "Keep in Dock", any way to prevent this?
Why not move it first and then change the setting?
At one time, I needed to keep my dock updated with something that changed frequently.  I just used a corn job to periodically replace the dock’s plait with a saved copy.  That would presumably only help with things that stay in the dock, though.