I want to lock (read-only) a record with an SQL statement.

How can I do that ?
I'm not an expert in sql....