Initially I was unable to unfollow deleted posts from the Following tab in my profile.
That seemed to been fixed recently so I was cleaning out the deleted posts when I encountered one that would not unfollow.
Conversion pdf document which includes tables to csv file using python or any other langaue
Turns out the deleted post is locked since it was deleted as Spam.