def scan_resource_conf(self, conf: Dict[(str, List[Any])]) -> CheckResult:
    lock_conf = conf.get('object_lock_configuration')
    if (lock_conf and lock_conf[0]):
        lock_enabled = lock_conf[0].get('object_lock_enabled')
        if (lock_enabled in ['Enabled', ['Enabled']]):
            return CheckResult.PASSED
        return CheckResult.FAILED
    return CheckResult.UNKNOWN
def scan_resource_conf(self, conf: Dict[(str, List[Any])]) -> CheckResult:
    lock_conf = conf.get('object_lock_configuration')
    if (lock_conf and lock_conf[0]):
        lock_enabled = lock_conf[0].get('object_lock_enabled')
        if (lock_enabled in ['Enabled', ['Enabled']]):
            return CheckResult.PASSED
        return CheckResult.FAILED
    return CheckResult.UNKNOWN