This is usually called a mortgage and it is when your lender has an interest or right in your property until you pay back your mortgage in full.