The 10 commandments are only binding to those who don't know Christ and are not in Christ and don't have faith in Christ.
Romans 8:2 For the law of the Spirit of life in Christ Jesus hath made me free from the law of sin and death.
Here's some scripture in Hebrews that explains it pretty well;
Hebrews 7:11-22
11 If therefore perfection were by the Levitical priesthood, (for under it the people received the law,) what further need was there that another priest should rise after the order of Melchisedec, and not be called after the order of Aaron?
12 For
the priesthood being changed, there is made of necessity a change also of the law.
13 For he of whom these things are spoken pertaineth to another tribe, of which no man gave attendance at the altar.
14 For it is evident that our Lord sprang out of Juda; of which tribe Moses spake nothing concerning priesthood.
15 And it is yet far more evident: for that after the similitude of Melchisedec there ariseth another priest,
16 Who is made, not after the law of a carnal commandment, but after the power of an endless life.
17 For he testifieth, Thou art a priest for ever after the order of Melchisedec.
18 For
there is verily a disannulling of the commandment going before for the weakness and unprofitableness thereof.
19 For the law made nothing perfect, but the bringing in of a better hope did; by the which we draw nigh unto God.
20 And inasmuch as not without an oath he was made priest:
21 (For those priests were made without an oath; but this with an oath by him that said unto him, The Lord sware and will not repent, Thou art a priest for ever after the order of Melchisedec
22 By so much was Jesus made a surety of a better testament.