===Options, Pragmas, Annotations===
{{Mark|Introduced with Version 9.1}}: locks via pragmas and function annotations.
* You can declare custom read and write locks via options, pragmas or function annotations.
file:write('config.xml', <config/>)
</pre>
Before {{Version|9.1}}, locks were declared in the {{Code|query}} namespace.
===Java Modules===