You may legally block an intersection:

Even if the light is green, you may not enter an intersection unless you can get completely across before the light turns red. If you block the intersection, you can be cited.

Wait, before you go

Ace Your California DMV Written Test with our Guaranteed Cheat Sheet