Keyframing start and end of smoke simulation
If you are using the mesh as the flow source,  then animate the Density of the Flow object.

Hover over the field and press I to add a keyframe. Or RMB  on the field and choose Insert Keyframe.
If you are using a emitter particle system, then use the start and end time of the particle system.