Disable certian keyboard keys while animation playing

Hi guys. I need help for disabling certian keyboard keys while animation playing. For example am pressed S for playing my Taunt animation and D for some animation. at that Taunt animation begin playing my D key needs to be disabled.
Thanks!

This has been asked multiple times: