locks bank and branches except on report/validate.
does not validate by default.
first draft of locking all the accounts in all of the branches according to the partial order.