I do believe the 10 Commandments were in affect before Moses received them, they were just never in written form and put into a book of ordinances called the Mosaic laws.
However the 10 Commandments did not end with Christ..............
They are still in full affect today as the Lord taught and Apostle Paul also showed that by when a person is a born again believer by walking in the fruits of the Spirit, love being the greatest fruit, that love will uphold the 10 Commandments plus any other commands given by the Lord.
[h=1]
Romans 13:9-10[/h]
9 For the commandments, “You shall not commit adultery,” “You shall not murder,” “You shall not steal,” “You shall not bear false witness,”[a] “You shall not covet,”[b] and if there is any other commandment, are all summed up in this saying, namely, “You shall love your neighbor as yourself.”[c] 10 Love does no harm to a neighbor; therefore love is the fulfillment of the law.
And here is a chart that shows other places where the 10 Commandments are upheld in the NT:
Old Testament New Testament
--------------- ----------------
First
Commandment
Exodus 20:3;
Deuteronomy 5:7 Matthew 4:10; Luke 4:8; Revelation 14:7
Second
Commandment
Exodus 20:4-6;
Deuteronomy 5:8-10 Acts 15:20; 1 Corinthians 6:9-10; Galatians 5:19-20; Ephesians 5:5
Third
Commandment
Exodus 20:7;
Deuteronomy 5:11 Matthew 5:33-37; 1 Timothy 6:1; James 2:7
Fourth
Commandment
Exodus 20:8-11;
Deuteronomy 5:12-15 Luke 4:16; 23:55-56; Acts 17:1-2; 18:4; Hebrews 4:9; 1 John 2:6
Fifth
Commandment
Exodus 20:12;
Deuteronomy 5:16 Matthew 15:4-9; 19:19; Mark 10:19; Luke 18:20; Romans 1:29-30; Ephesians 6:1-3
Sixth
Commandment
Exodus 20:13;
Deuteronomy 5: 17 Matthew 5:21-22; 19:18; Mark 10:19; Luke 18:20; Romans 1:29-30; 13:9
Seventh
Commandment
Exodus 20:14;
Deuteronomy 5:18 Matthew 5:27-28; 19:18; Mark 10:11-12, 19; Luke 16:18; 18:20; Romans 7:2-3; 13:9
Eighth
Commandment
Exodus 20:15;
Deuteronomy 5:19 Matthew 19:18; Mark 10:19; Luke 18:20; Romans 13:9; Ephesians 4:28; 1 Peter 4:15; Revelation 9:21
Ninth
Commandment
Exodus 20:16;
Deuteronomy 5:20 Matthew 19:18; Mark 10:19; Luke 18:20; Acts 5:3-4; Romans 13:9; Ephesians 4:25
10th
Commandment
Exodus 20:17;
Deuteronomy 5:21 Luke 12:15; Romans 1:29; 7:7; 13:9; 1 Corinthians 6:9-10; Galatians 5:19-21; Ephesians 5:3, 5