But the only way for the lump sum to double and the repayment to stay the same is to lengthen the loan period?
You mean the repayment amount? I'm not sure what you're asking.
Of the lump sum price (principal), interest rate, loan term (time), and monthly payment, you can only change three of the four, for a fixed rate loan. The fourth is defined by the combination of the others.