Python decorator used to lock class attributes.
A decorator that modifies the arguments and keyword arguments of a function before calling it.