Locking/Unlocking a channel