Posts can get locked by the admins or mods for several reasons, the person got the answer to their question, people are commenting off-topic things, the post is in another language, the author requested it, the post is old and someone comments on it (necropost), the same thing is being posted by several people (for example, the userpage bug, can't post on adopt me wiki), etc etc