# Berkeley DB: Locking Subsystem and Related Methods

Locking Subsystem and Related Methods | Description
--- | ---
DbEnv.set_lk_conflicts | Set lock conflicts matrix
DbEnv.set_lk_detect | Set automatic deadlock detection
DbEnv.set_lk_max_lockers | Set maximum number of lockers
DbEnv.set_lk_max_locks | Set maximum number of locks
DbEnv.set_lk_max_objects | Set maximum number of lock objects
DbEnv.set_timeout | Set lock and transaction timeout
DbEnv.lock_detect | Perform deadlock detection
DbEnv.lock_get | Acquire a lock
DbEnv.lock_id | Acquire a locker ID
DbEnv.lock_id_free | Release a locker ID
DbEnv.lock_put | Release a lock
DbEnv.lock_stat | Return lock subsystem statistics
DbEnv.lock_vec | Acquire/release locks

Copyright Sleepycat Software