Losing a suit over a non-compete clause
If your friend lost the lawsuit over the non-compete clause, your friend can consider an appeal, but is otherwise stuck. If the court erred in its findings, that is something that would be addressed on appeal.
Enforcement of Non-Compete Across State Lines
I can't speak to what the religion questions were about; I don't know. That's something your friend should discuss with an appellate lawyer, assuming he wishes to appeal.
Non-compete clauses are enforceable across state lines. While some states (e.g., in most cases, California) will not enforce noncompete agreements as a matter of public policy, your friend would remain subject to sanction by the court which issued the judgment against him.