Fixed No moderator log entry when thread is locked during reply



When you go to a thread and lock it using the moderator actions menu, there is a moderator log entry.

When you reply to a thread and uncheck "Set thread status: Open" (to lock the thread), there is NO moderator log entry.

I looked around a bit and found some threads about XF not logging some moderator actions, but those issues seemed related to people with moderator permissions who were not actually moderator. In this case, our users are moderators but the logging behavior for a given action doesn't seem consistent.

Is this by design or something that can be made consistent? (So even when a thread is locked via reply, a moderator log entry is inserted for the lock event)