Record locks are applied only on public non-tx methods.