Locking rows should include
defining the FOR UPDATE clause
writing a program in PL/SQL that includes
a cursor
a user requirement to prevent another user from opening the records while the UPDATE is executed.