Add auto_restart flag to AbinitFlow and new node status S_LOCKED