Type 0-450! in the MinMax cell of the style used in your Flanker task to create a 450ms response window that will automatically proceed to the next trial after 450ms. Take a look style 1 of the attached Styles file for an example.
To show the a stimulus for 250ms but then have it disappear for the remainder of the response window, type clear250 in the cell of the trial where you define any keypresses for your Flanker task; take a look at block 1 of the attached input file for an example. You can find more information about this in the Other Features > Clear Screen During and RT section of the DirectRT manual.