[#AnnotatedMixin-03-lock] = xref:AnnotatedMixin-03.adoc[AnnotatedMixin]::lock :relfileprefix: ../ :mrdocs: Lock the underlying mutex. == Synopsis Declared in `<sync.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[acquire_capability]] void lock(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#