Yeah, you might as well replace the lock. For a few bucks it's insurance so that you don't break your glass.
I've had way too many times where I've skipped things like this and wound up getting screwed over later! It's worth the couple bucks for insurance.
Derek