code: def generate_lock_name(length: int = 10) -> str:
      random.seed(datetime.datetime.now().timestamp())
      return "".join(
          random.choice(string.ascii_lowercase) for i in range(length)
      )
  
imports: import datetime
  from pathlib import Path
  import random
  import string
  import sys
  import tempfile
  from threading import Thread
  import time
  from joblib import Parallel
  from joblib import delayed
  import pytest
  from pytest_mock_resources import create_redis_fixture
  from syft.store.locks import FileLockingConfig
  from syft.store.locks import LockingConfig
  from syft.store.locks import NoLockingConfig
  from syft.store.locks import RedisLockingConfig
  from syft.store.locks import SyftLock
  from syft.store.locks import ThreadingLockingConfig
label_desc: Use image node_id 1 for calling a global function with example usage: generate_lock_name(length) and returns: str