Fix transactions flow: locking funds, transfering funds, releasing locked funds
Work still in progress and no need to merge, since there are tests which has to be adopted to the new transaction execution flow.
Work still in progress and no need to merge, since there are tests which has to be adopted to the new transaction execution flow.