Directly after the explosion.
Interact with the Dr who will give a pack of matches.
1 match will stay alight unless you either look out of a window or go outside which will extinguis the flame. As soon as the flame is extinguished relight another match then again have it extinguished. Repeat 5 times to unlock.