Removed additional parameter for -Lock

It used to be the case that a random parameter was required, this is not the case anymore.