No Locke says there is natural law.
Rousseau just says we're naturally good.
Hobbes says there is no moral law.
Marx says there is no moral law.
Plato and Socrates believe in inherent good.
Aristotle doesn't believe in natural law.
Only state of nature philosophers address address natural law at all.
Moral law is a completely Locke based concept and only justified by the existence of God.
Anarchy is a godless form of government based on individuals and heir absolute freedom and autonomy. Religion is a unifying establishment that can't exist in anarchy. You can have personal beliefs and that's about it. Its not reasonable to assume that any one or even a majority will obey a natural law. The existence of natural law also defeats the point of anarchy. Aside from that Locke says that only enlightened logical beings can even know natural law exists let alone follow it.