Function: emergencyLock()
This function can be used to lock the contract.
Branches and code coverage (including function calls)
Intended branches
Ensures the caller is authorized and locks the contract.
Negative behavior
Reverts if the caller is not authorized.