I think a tutorial will be great:
You have to do an extruded surface, Whatever form
Now, draw a sketch like this:
Now, we have to use this sketch in order to do a surface sweep, use the horizontal line for the profile and the vertical line for the path.
We have to choose the option: Twist Along Path.
Define turn number, and valid
In order to get the profil, we have to use the sketch tool: Intersection Curve
Select your 2 surface bodies, and valid
You can hide surface bodies
On the front plane, you have to draw the profile
Now, use a Sweep Boss/Base to end this spring