Add deploy lock check