You can ignore `{.locks.}` pragma. It's only important when you use the `locks`
module and/or the [guard
system](https://nim-lang.github.io/Nim/manual_experimental.html#guards-and-locks).
It's one of the most misleading thing in the error message, where it bears
zero significance.
Same as with the `{.closure.}` pragma, a lot of times it's not the problem, but
the differences in proc signature (param list) is.
Can you provide a reproducible sample of your erroring code?
