One type of lock is the exclusive lock.
Once an exclusive lock is assigned to a transaction for a particular data object, other transactions cannot modify this object. Transactions that check for the existence of exclusive locks, or that want to set exclusive or shared locks, conflict with the existing exclusive lock of another transaction. They do not have access to the locked object.
Exclusive locks refer to a row or a table.
See also:
Requesting and Releasing a Lock