Wyo. Stat. § 2-7-616
Sale subject to mortgage
When a claim is secured by a mortgage on property, the court, with the consent of the mortgagee, may order the sale of the property subject to the mortgage, and the consent shall release the estate should a deficiency later appear.