title: Mongodb maxTransactionLockRequestTimeoutMillis does not work
body: <p>Environment: Windows, mongodb 5.0, single node replicaset.</p>
  <p>in mongod.cfg</p>
  <pre><code>setParameter:
    maxTransactionLockRequestTimeoutMillis: 3000
  </code></pre>
  <p>Create DB and collection test with one object:</p>
  <pre><code>objId = ObjectId(&quot;613233675a5ea6722c960051&quot;);
  db.test.insert({_id: objId, item: &quot;A&quot;});
  </code></pre>
  <p>Open 2 mongo shell windows to create 2 concurrent transactions:
  Window 1:</p>
  <pre><code>session = db.getMongo().startSession( { readPreference: { mode: &quot;primary&quot; } } );
  coll = session.getDatabase(dbName).getCollection(&quot;test&quot;);
  session.startTransaction( { readConcern: { level: &quot;local&quot; }, writeConcern: { w: &quot;majority&quot; } } );
  coll.updateOne({_id: objId}, { $set: {item: &quot;B&quot;}})
  </code></pre>
  <p>Window 2:</p>
  <pre><code>session = db.getMongo().startSession( { readPreference: { mode: &quot;primary&quot; } } );
  coll = session.getDatabase(dbName).getCollection(&quot;test&quot;);
  session.startTransaction( { readConcern: { level: &quot;local&quot; }, writeConcern: { w: &quot;majority&quot; } } );
  coll.updateOne({_id: objId}, { $set: {item: &quot;C&quot;}})
  </code></pre>
  <p>Second update fails immediately without waiting for 3 seconds:</p>
  <pre><code>WriteCommandError({
          &quot;errorLabels&quot; : [
                  &quot;TransientTransactionError&quot;
          ],
          &quot;ok&quot; : 0,
          &quot;errmsg&quot; : &quot;WriteConflict error: this operation conflicted with another operation. Please retry your operation or multi-document transaction.&quot;,
          &quot;code&quot; : 112,
          &quot;codeName&quot; : &quot;WriteConflict&quot;,
          &quot;$clusterTime&quot; : {
                  &quot;clusterTime&quot; : Timestamp(1632429457, 1),
                  &quot;signature&quot; : {
                          &quot;hash&quot; : BinData(0,&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;),
                          &quot;keyId&quot; : NumberLong(0)
                  }
          },
          &quot;operationTime&quot; : Timestamp(1632429457, 1)
  })
  </code></pre>
  <p>Am I doing something wrong? Is it a bug in mongodb?</p>