Added post locking and deleting.