Small changes to lock command (If no valid lockLevel exists, defaults to 100)