=XQuery Locks=
{{Mark|Updated with Version 9.4:}} Single lock option for reads and writes.
By default, access to external resources (files on hard disk, HTTP requests, ...) is not controlled by the transaction monitor of BaseX. Custom locks can be assigned via annotations, pragmas or options: