I haven't been riding long, about 6 months. I've ridden dirt bikes on and off over the years but wouldn't at no stage call myself great at it. Anyways, I was leaving work yesterday afternoon and was heading to some traffic lights near work at a reasonable pace. The left lane only turns left, the right lane goes straight on or turns right. I looked up and saw the lights orange with about 5 car lengths to go. Not wanting to get held up I give a bit more of a twist to speed up. Two cars pull left to reveal a lowered ute parked ready to turn right. I hit the brakes (front and rear) in a panic to pull up before smacking into the back of the ute. The back locked up and got a bit wriggly and applied the front brake and pulled up just in time (I applied at the same time but modulated the front a lot better). I often practice emergency braking but when it came to actually having to do it some things surprised me: 1. How easy the back locked up when I thought the brake was pretty useless at the best of times. 2. How little I wanted to pull the front brake for fear of washing the front out. 3. How much I actually used the back brake to bring me to stops at lights and intersections etc. I took away from the scare that I need to use my front brake more for stopping/slowing down and using back brakes for stopping from a slow speed and stability only. I also think I need to check further ahead and not anticipate an area being clear. It scared me a little and my ride this morning (in the rain) was more ginger than normal but that's not a bad thing. I know the front brake is most of the stopping power but it really did get me how easy it was to lock the back once the front brake was engaged at some sort of force.