Added return statements to save_post_lock and save_post_unlock functions...

... due to filter values being returned as NULL.

(Not sure why the commit has so many deletions and inserts... apologies)