Class for the /lock command