I was not sure whether this is a problem with the documentation or the code so I am submitting this here as opposed to github.
In setting up Lock version 10 I found that while the documentation indicates that
state is a parameter of
params which in turn is a parameter of
auth (https://auth0.com/docs/libraries/lock/v10/customization#params-object-) the code in fact takes
state directly from the
auth object (https://github.com/auth0/lock/blob/master/src/core/index.js#L212).
Aside from either the code or the documentation being wrong, a consequence of this is that, as far as I can tell, there is no way to override
state when calling
lock.show() which, based again on the documentation, is an anticipated developer behavior.