Now that moderation logging is no longer completely broken (T89428: Flow logging is broken), it's apparent that lock logging has no formatting. It looks like:
02:45, 21 February 2015 <logentry-lock-flow-lock-topic> (Lock action at 2015-02-20 09:45)
Note the angle brackets and text inside. Ignore the weird reason (in parentheses). That's just what I put.
Unlock is only marginally better:
03:45, 21 February 2015 Other (Talk | contribs) flow-restore-topic (Test unlock after refactoring)
We also need to decide which section in the Special:Log drop-down it belongs in.
I'm not sure, but I think FlowFixLog also needs to be updated to run for lock/unlock.
E.g. https://www.mediawiki.org/w/index.php?title=Special%3ALog&page=Topic%3ASntfxrjgf0wgz5o1