Lock Comments table to avoid race condition