How do you place a lien on property in Texas?

If lending money, it is through use of a Deed of Trust. If a subcontractor, there is a procedure for filing a Mechanics & Materialman's Lien.