Pessimistic locking
A strategy that assumes conflicts are likely and acquires locks upfront to prevent them.
A classical approach used in early DBMS: when you read data you plan to modify, acquire the lock immediately. No other transaction can read or write the same rows until you commit. Safety is guaranteed, but contention can be severe and deadlock is a constant hazard.
Standard in practically every relational database from the 1970s onward, and still the default in transaction-heavy systems. Two-phase locking is the canonical implementation. The downside is that a long-running batch job holding locks on many rows can freeze the entire system.