code: def set_pin_retries(ctx, management_key, pin, pin_retries, puk_retries, force):
      
      controller = ctx.obj['controller']
      _ensure_authenticated(
          ctx, controller, pin, management_key, require_pin_and_key=True,
          no_prompt=force)
      click.echo('WARNING: This will reset the PIN and PUK to the factory '
                 'defaults!')
      force or click.confirm('Set PIN and PUK retry counters to: {} {}?'.format(
          pin_retries, puk_retries), abort=True, err=True)
      try:
          controller.set_pin_retries(pin_retries, puk_retries)
          click.echo('Default PINs are set.')
          click.echo('PIN:    123456')
          click.echo('PUK:    12345678')
      except Exception as e:
          logger.error('Failed to set PIN retries', exc_info=e)
          ctx.fail('Setting pin retries failed.')
docs: Set the number of PIN and PUK retries.
      NOTE: This will reset the PIN and PUK to their factory defaults.