How long does it take a Widow Mine to attack an enemy unit?
A Widow Mine takes 1.5 in game seconds to lock on to an enemy and fire.
This translates to different real time seconds based on game speed:
Slower - 2.49s
Slow - 1.875s
Normal - 1.5s
Fast - 1.241s
Faster - 1.088s
Source