def METHOD_NAME(self):
    """
    Get lock_timeout from config.core
    """
    try:
        value = int(config.core.METHOD_NAME)
    except ValueError:
        raise ValueError("Invalid format of core.lock_timeout(should be a number)")
    if value < self.MIN_LOCK_TIMEOUT:
        raise ValueError("Minimum value of core.lock_timeout should be {}".format(self.MIN_LOCK_TIMEOUT))
    return value