It depends on the state.
Please read this TurboTax Help topic for instructions on how to file a Federal extension and this one on how to file a state extension.