注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。
function lock(): void
Once called, prevents any future change to the underlying cryptographic primitives using the .register feature for hooks.

Returns

void

Source

crypto/index.ts:27