If your goal is to prevent edits, a lock action in...
# suitescript
m
If your goal is to prevent edits, a lock action in a workflow might be better, because a savvy user could just add
&e=T
to the end of the URL