I have a spiral, but I want a straight line that turns into a spiral at the end like a corkscrew. How do I combine a line and spiral?

I have a spiral, but I want a straight line that turns into a spiral at the end like a corkscrew. How do I combine a line and spiral?
