The create method is used to create an instance of ILock. You can provide a custom owner using the settings.owner field. If not specified a unique owner will be generated by default. You can also provide a TTL value using the settings.ttl field. If not specified it defaults to null, meaning no TTL is applied.
Optional
settings: LockProviderCreateSettings
The ILockProvider contract defines a way for managing locks independent of the underlying technology. It commes with more convient methods compared to ILockAdapter.
IMPORT_PATH:
"@daiso-tech/core/lock/contracts"