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