If the share price doesn't go higher than 10 in 2 years the lender will probably lose all as the company will probably have failed and there could be no meaningful assets to satisfy the loan. It is the only way for them to get a large stake in the company without paying a much higher price on the open market.