Action on land from height >300...

I’m stuck with a disable input problem now. I can’t seem to find an answer to this, I have searched and found people saying use bool to set it up but I can’t get my head around how to do it.

I want to setup a following bit of code to keep the character crouched/slowed for 3-5 seconds, I can add the delay but I want to disable input from left shift and left ctrl key’s only, until that delay is complete.

If someone could point me in the right direction it would be appreciated. I’m not looking for the complete answer, just a guide to help me understand how to do it.

Thanks, B.