To achieve maximum straight-line braking, you should:

Maximum straight-line braking is accomplished by fully applying both the front and rear brakes without locking either wheel. It is important to use both brakes every time you slow or stop.
DMV Writen Test