Deadlock is when two transactions block each other trying to acquire locks on resources and the other transaction holds in a conflicting mode. The lock monitor thread is responsible for deadlock detection and initiates periodic searches to identify and resolve deadlocks. The default between deadlocks searches is 5 seconds.