Digital output "high" in the starter

I have one question. When the "electric power" is stopped and started, in the starter my arduino uno make all the digital output in "high" for few seconds, so the door open. How avoid this?

Add 1K pulldown resistors to all the control pins; they will then be LOW during the Arduino restart when all pins are INPUTs until the bootloader finishes and the sketch starts up to control them.