No, If you withdraw your funds before the end of the lockup period, you will get back only the initial sum you have deposited. After the end of the lockup period, you can redeem your profit any time you want.

For some deposits the conditions allow you to withdraw your profits earlier, you can check the conditions when you confirm your deposit.