The locks refers to the mechanism used in a database management system (DBMS) to control access to resource (such as: tables, rows etc) to ensure data consistency and integrity in a multi-user environment. In the locks window, you can see the following details which are listed below:

Table Operations

There are following operation which you can perform on the DB Query Stats table which are listed below:

Note: In locks you cannot modify tha same record by two different connections whereas, in latches it ensures that the record resides in a proper data page for further reading and writing operation.