Lock editing in production