Add tests for locking functionality (#2)
Add tests for locking functionality (#2)

Ensure that decode() and encode() methods throw exceptions when one of the
readable or writable sides is locked.
GoogleChromeLabs/text-encode-transform-polyfill