publish lock