I have created a Windhawk mod for this purpose. This mod adjusts the Windows API for f.lux in such a way that f.lux thinks the time is always same, therefore not changing the colour automatically.
You can get it here: https://windhawk.net/mods/maintain-flux-colour-temperature