locks implemented for Transaction, TransactionsManager and DataBlock