Database lock tells a transaction, if the data item in questions is currently being used by other transactions.