§ 57. Judgment may direct delivery of property in lieu of money. If the owner has agreed to deliver bills, notes, securities or other obligations or any other species of property, in payment of the debt upon which the lien is based, the judgment may direct that such substitute be delivered or deposited as the court may direct, and the property affected by the lien cannot be sold, by virtue of such judgment, except in default of the owner to so deliver or deposit within the time directed by the court.