Forbidding images of Mohammed is less restrictive than this:
“Thou shalt not make unto thee any graven image, or any likeness of any thing that is in heaven above, or that is in the earth beneath, or that is in the water under the earth.”
Of course, in the Christian case, only adherents are conjoined from making images.
These days anyway.
This is an old old cavil; the historical answer is that the graven image means an idol. One of many many reasons that bible study sans context makes no sense.