Lane splitting is when you are riding your motorcycle between rows of stopped or moving vehicles in the same lane, including on both divided and undivided streets, roads, or highways.
Lane splitting is legal in California. Intentionally blocking or impeding the motorcycle in a way that could cause harm to the rider, pulling in front of them and hitting the brakes to prevent them from passing you, and opening vehicle doors to impede motorcyclists is illegal.