One type of lock is the exclusive lock.
Exclusive locks refer to a row or a table.
Once an exclusive lock is assigned to transaction for a particular database 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. You cannot access the locked object.