Mt 5: 18 KJV "Verily I say unto thee, till heaven and earth pass, one jot or one tittle shall in no wise pass from the law, till all is fulfilled."
Gal 3: 23-25 KJV "But before faith came, we were kept under the law, shut up unto the faith which should afterward be revealed. Wherefore the law became our schoolmaster to bring us to Christ, that we might be justified by faith, but after that faith is come, we are no longer under a schoolmaster."
Rom 3: 19 KJV "Now we know that what things soever the law saith, it saith unto them who are under the law: that every mouth may be stopped, and all the world may become guilty before God."
Heb 9: 15 KJV "And for this cause he is the mediator of the new testament, that by means of death, for the redemption of the transgressions that were under the first testament, they which are called might receive the promise of eternal inheritance.
We see that the law, the first testament; is with us, unchanged by so much as a jot or a tittle, till heaven and earth pass; so that all the world may become guilty before God. Before faith, we too, were kept under the law; shut up unto the faith that should afterwards be revealed. Then after faith is come to us: Jesus, by means of death, for the redemption of our transgressions that were under the first testament, to cause the called to receive the eternal inheritance. It is after faith in Jesus comes to us that there is a change of the priesthood to us and therefore a changing of the law of the first testament: for the law of the Spirit of life in Christ Jesus has made us free from the law of sin and death. The new testament has no curse of death for every transgression and act of disobedience.
The ten commandments will be the standard used by the Lord when he judges those who died without faith. Even with the Lord Jesus ruling the earth during the Millenium, there will be some who do not turn to him in repentance and faith; and they too, will be judged by the same standard as everyone else who stands before the great white throne for judgment.