You might already be referencing this, but linking it anyway: Cory Doctorow's "I, Rowboat", where Asimov's Laws are a religion which some AIs adopt voluntarily to give their existence meaning.
https://craphound.com/overclocked/Cory_Doctorow_-_Overclocke...
(I could also make a case for truthfulness being prioritized over harm.)