https://codescracker.com/operating-system/two-phase-locking.htm
Two-Phase Locking in OS
Two-Phase Locking in OS - In several database systems, requesting locks on several records and then updating all of the locked records is a common task.
two phase locking