N.Y. Parks, Recreation and Historic Preservation Law § 19.24
1. Unless there is a written loan agreement to the contrary, the office may apply conservation measures to property on loan to the office without giving formal notice or first obtaining the lender's permission if action is required to protect the property on loan or other property in the custody of the office or if the property on loan is a hazard to the health and safety of the public or the office staff, provided that:
2. Unless provided otherwise in an agreement with the lender, if the office applies conservation measures to property under subdivision one of this section, and such measures were not required as a result of the office's own action or inaction, the office shall acquire a lien on the property in the amount of the costs incurred by the office, including, but not limited to the cost of labor and materials, and shall not be liable for injury to or loss of the property, provided that the office: