Hi Tony,
Tamiya paints can appear to dry very quickly (if airbrushing, sometimes within seconds) but they cure much more slowly. I would wait a minimum of 8 hours, preferably ovenight, before masking.
PS: I'm assuming you're talking about "flat" colours. Gloss colours are a whole different nightmare