The locks are the preventive software mechanism which the other users cannot use the data resource.

Types of locks are there-
  • Row and key locks
  • Page Locks
  • Table locks
  • Database locks
BY Best Interview Question ON 10 Apr 2019