Yes its opt-in. https://dlang.org/spec/statement.html#synchronized-statement
As you mentioned in another thread there's handy ABI documentation for classes and interfaces just here [https://dlang.org/spec/abi.html#classes](https://dlang.org/spec/abi.html#classes) that spells out the story.