async def METHOD_NAME():
    async with postgresql_pool.acquire() as connection:
        async with connection.transaction():
            await connection.execute("LOCK TABLE root IN SHARE MODE")
            await asyncio.sleep(0.1)
            await connection.execute("LOCK TABLE leaf IN SHARE MODE")