You can trek Gokyo Lakes throughout the year. But you must pick the best season to travel the Gokyo Lake trek.
Since this trek will also provide you with a view of different high mountains so; during the spring and autumn season, you will get the best view of the mountain.