Wait x seconds before a collider is set to true?

Hi there,
First of all i am german so in my Script there is some german language but you can ignore that.
I have a CapsuleCollider2D , which enables after a Key is pressed and a Animation started. How can i
enable the Capsule Collider x seconds after the animation started? I hope you can help me and sorry for my bad english ^^".

//Attack
        if (Input.GetKey(KeyCode.Mouse0))
        {
            // Attack Animation abspielen
            playerAnimator.SetBool("Attack 2", true);
            //Schwert Collider aktivieren
            attackCollider.enabled = true;
        } else{
            playerAnimator.SetBool("Attack 2", false);
            attackCollider.enabled = false;
            if (playerAnimator == false);
        }

    }

If you want the collider to activate DURING animation, then I’d suggest an animation event. But if not,maybe it would still work if you just call a coroutine after animation ends that delays until you want it to turn the collider on, for example.