Lock mode
A classification of the type of lock a transaction holds on a resource — shared, exclusive, or update.
A shared lock allows multiple readers simultaneously. An exclusive lock blocks everything else. Update lock is a middle ground — allows a writer to prepare without blocking readers until changes commit. Deadlocks can occur when two transactions wait on each other's locks.
From ISAM and IMS to modern MVCC, locking is one of the hardest aspects of database design — correctness must balance against concurrency.