Throughout the repayment period, the property is mortgaged in the bank's favour (a sale ban). You have no right to sell the unit, assign it, change its use, or rent it out (particularly in subsidised social housing apartments) until the entire debt has been repaid and you obtain a clearance from the bank to release the mortgage.