Add feature number lock function