Along Pacific Coast Highway, you will find plenty of places to pull over. The sights from each and everyone of this view points is worth a stop.
The next town after San Luis Obispo on the way North is San Simeon. This road town has some motels and restaurants. If you need a place to stay this is also a good option.
If you are traveling in Summer or on a weekend, I recommend booking your accommodation ahead.