class_docstr: Raised when a locked `Quantity` is trying to get locked again.
  
  Parameters
  ----------
  quantity : `Quantity`
      A locked quantity.
  *args : positional arguments
      More positional arguments for the exception.
code: def __init__(self, quantity: "Quantity", *args) -> None:
      super().__init__(
          "Cannot lock quantity that has previously been locked: {}.".format(
              quantity
          ),
          *args,
      )
  
imports: from typing import Union
  from numbers import Number
label_desc: Use image node_id 1 to create a new DoubleLockedQuantity object from inherited base classes: Exception with example: obj = DoubleLockedQuantity(quantity)