Christ atoned for the sins of all mankind, but the atonement is only affective if the person remains sinless. We only remain free if we obey all of the commandments. There is always the chance of repentance, but to commit the same sin again and again can nullify the blessing.