This doctrine is called "foreordination". The LDS Church has understood this to be a depiction of Christ's foreordination. A person can nullify their foreordination through sin. It is by prophecy that a person's foreordination is thought to be revealed. Foreordination is a prominent part of LDS theology. Unlike predestination, foreordination does not exclude free will.