On the official voids wrath server the /lock command appears to be broken. This is a major concern for people raiding and many people still find a way to add hacks. Thank you for your time.
The lock command sadly breaks all the time, and from what I hear, you may be out of luck. I don't believe they ever plan to fix it, sorry. P.S. ; Not a lot of people hack