One type of lock is the shared lock.
Shared locks refer to a row or a table.
Once a shared lock is assigned to a transaction for a particular data object, concurrent transactions can access the object but not modify it. Other transactions can set a shared lock, but not an exclusive lock for this object.