the legal right to keep someone else's property until you get back the money that they owe you, or the right to sell their property as a way of getting your money back
The holder of the lien is entitled to retain the property until the invoice has been paid.