Something to watch out for is the SB+ paragraph READ statement.

If you read an attribute in a paragraph, no record locking is applied.

To lock a record, the whole record must be read and the option of locking selected.