Merge "Annotate locks" into oc-dev