The DB seems to be locking on getting the series from the DB:
mysql > show processlist;
MariaDB [_2b626a0ea886b6db]> show full processlist;
+-----+-------------------+-----------------+-------------------+---------+------+------------+----------------------------------------------------------------------------+----------+
| Id | User | Host | db | Command | Time | State | Info | Progress |
+-----+-------------------+-----------------+-------------------+---------+------+------------+----------------------------------------------------------------------------+----------+
| 35 | root | localhost | _2b626a0ea886b6db | Query | 0 | starting | show full processlist | 0.000 |
| 421 | _2b626a0ea886b6db | localhost:48256 | _2b626a0ea886b6db | Query | 16 | Statistics | SELECT `current` FROM `tabSeries` WHERE `name`='CRM-LEAD-2022-' FOR UPDATE | 0.000 |
+-----+-------------------+-----------------+-------------------+---------+------+------------+----------------------------------------------------------------------------+----------+
2 rows in set (0.000 sec)
I’ve disabled all other hooks related to the Lead but still getting this.