Set the locking modes. The set value is
a lk_modes by lk_modes array.
A non-0 value for the array element:
indicates that requested_mode and held_mode conflict. The
not-granted mode must be represented by 0. If
lk_conflicts is NULL, the conflicts array
db_rw_conflicts is used; see Standard Lock Modes for a description of that array.