Paul, don't look in the mirror, look more down. The hips will "lock", but because they're a ball joint and not a hinge joint, the lock is different than for the knees. The main thing is that you want to keep your back in extension at the top of the squat without pulling your hips forward.
You would also benefit from reviewing the thoracic extension article and re-watching the squat grip clarification video.