If you have a green light but traffic is blocking the intersection, you should:

Even if your traffic light is green, you must not enter an intersection unless you can get completely across the intersection before the light turns red. If you block the intersection, you can be cited.
DMV Writen Test