Those aren’t “The Ten Commandments”. Those are only the first ten of the 613 commandments listed in Exodus 20.
The only commands listed in the Bible as “The Ten Commandments” are in Exodus 34:
10 Then the Lord said: “I am making a covenant with you. Before all your people I will do wonders never before done in any nation in all the world. The people you live among will see how awesome is the work that I, the Lord, will do for you. 11 Obey what I command you today. I will drive out before you the Amorites, Canaanites, Hittites, Perizzites, Hivites and Jebusites. 12 Be careful not to make a treaty with those who live in the land where you are going, or they will be a snare among you. 13 Break down their altars, smash their sacred stones and cut down their Asherah poles.[a] 14 Do not worship any other god, for the Lord, whose name is Jealous, is a jealous God.
15 “Be careful not to make a treaty with those who live in the land; for when they prostitute themselves to their gods and sacrifice to them, they will invite you and you will eat their sacrifices. 16 And when you choose some of their daughters as wives for your sons and those daughters prostitute themselves to their gods, they will lead your sons to do the same.
17 “Do not make any idols.
18 “Celebrate the Festival of Unleavened Bread. For seven days eat bread made without yeast, as I commanded you. Do this at the appointed time in the month of Aviv, for in that month you came out of Egypt.
19 “The first offspring of every womb belongs to me, including all the firstborn males of your livestock, whether from herd or flock. 20 Redeem the firstborn donkey with a lamb, but if you do not redeem it, break its neck. Redeem all your firstborn sons.
“No one is to appear before me empty-handed.
21 “Six days you shall labor, but on the seventh day you shall rest; even during the plowing season and harvest you must rest.
22 “Celebrate the Festival of Weeks with the firstfruits of the wheat harvest, and the Festival of Ingathering at the turn of the year.[b] 23 Three times a year all your men are to appear before the Sovereign Lord, the God of Israel. 24 I will drive out nations before you and enlarge your territory, and no one will covet your land when you go up three times each year to appear before the Lord your God.
25 “Do not offer the blood of a sacrifice to me along with anything containing yeast, and do not let any of the sacrifice from the Passover Festival remain until morning.
26 “Bring the best of the firstfruits of your soil to the house of the Lord your God.
“Do not cook a young goat in its mother’s milk.”
27 Then the Lord said to Moses, “Write down these words, for in accordance with these words I have made a covenant with you and with Israel.” 28 Moses was there with the Lord forty days and forty nights without eating bread or drinking water. And he wrote on the tablets the words of the covenant—the Ten Commandments.
They’re not really numbered in the passage, but the last one is clearly “Do not cook a young goat in its mother’s milk.” Have fun making these into AI laws instead.