Whenever an appeal from any judgment shall be pending and the undertaking requisite to stay execution on such judgment shall have been given and the appeal perfected as provided in this title, the court in which such judgment was recovered may, on motion, after notice to the person owning the judgment, direct the clerk to make an entry on the judgment docket that the judgment is secured on appeal, and thereupon it shall cease, during the pendency of the appeal, to be a lien on the real property of the judgment debtor as against purchasers and mortgagees in good faith and for value.
SDCL 15-16-10