Message SAP WW118 - Assignment to a hierarchy level not possible, as objects are locked

Procedure
Call the function again later in change mode.