Implement database channel locking