How disable category in discourse

You set the category security settings (see/reply/create) permissions for however you want groups to have access to the category. It’ll take the highest security for a user to determine what the user can do.

So if you want to “lock” it, remove reply/create. If you don’t want people to see it, remove see.

If I understand what you mean by disable them..