Why are some threads locked and who locks them?
Some threads are locked to prevent people from posting on them for various reasons (organization purposes, thread is outdated, no more discussion needs to be done on the topic, duplicate threads, thread has derailed, flame wars, trolling, etc.)
In most sections of the forums, the person who started the thread can close it. People with moderator powers over the specific section are also able to lock threads.