Transactions do not work the same way as in the scheme

hi.
I read this article:

And this article says that one transaction is waiting for the completion of another:

But when I run two such transactions, I have them running in parallel.
And only when it comes across a shared document, an exception occurs

Who is wrong?