API Reference > imodeljs-backend > iModels > ConcurrencyControl > ConcurrencyControl.LocksManager > lockSchema lockSchema Method Obtain the schema lock. This is always an immediate request, never deferred. See LockHandler for details on what errors may be thrown. lockSchema(requestContext: AuthorizedClientRequestContext): Promise<void> Parameter Type Description requestContext AuthorizedClientRequestContext Returns - Promise<void> Defined in core/backend/src/ConcurrencyControl.ts Line 1292 Last Updated: 11 June, 2024