support locked and hidden cells (#15)