I kinda solved this problem with do-once node , so first time pressing F event will fire ,then it gets locked , then after 2 seconds it resets .
But for the sake of knowing , back to the original question , is there anyway to disable input only for one key ?