I am answering my own question. I discovered that although the PI3 was running headless, it was in runlevel 5, which enables automount. I run the raspbian-config script and chose to boot in console mode in the system parameters. It now boots in runlevel "unknown", but it is probably 3. My HDD is no longer automounted at boot. And I still can mount it manually.