added locked state to Posts.get