You will need a light, at the very least to keep it in Veg
Gas Lantern Method
https://balancemmc.com/index.php/2016/11/05/gas-lantern-routine-growing-cannabis/
That will solve the veg to flower problem, remember cannabis flowers if DARK hours are greater than 12 hours.
add 1-4 hours at night in the middle of the dark period with a 150 watt clf and you will kill 2 birds with one stone i.e , preventing flowering and additional light to supplement window light.
It will survive doing this if your keep temps inside good and stable, if its too cold for you its too cold for the plant vice versa.
ideally you would run a 150 watt cfl 24 hours , close to the top of the plant.