Lock with the SELECT statement
The type and duration of locks that the database server places depend on the isolation set in the application and whether the SELECT statement is within an update cursor.
This section describes the different isolation levels and update cursors.