KRACOEUS-8181: convenient way to clear pessimistic locks to make it easi...

...er for testing.
This is true.  The intent is this is a testing aid not a production feature and therefore just controlled by a parameter.