[Feat] Added lock attributes functionality to categories.