Board Thread:Questions and Answers/@comment-90.221.228.185-20150511233505/@comment-28391659-20160625095650

Moral code is made to prevent sexual harassment between players. If someone tried to harass someone else, he/she will get a warning and will get an electric shock. But player can disable it by the moral code removal option to sex for example.

On a side note, this feature is only available in SAO.