Oracle Solution for Error ora-38029

Solution for Oracle Error ORA-38029

ORA-38029: object statistics are locked

What triggered the Error:

An attept was made to modify optimizer statistics of the object.

What should we do to fix it:

Unlock statistics with the DBMS_STATS.UNLOCK_TABLE_STATS procedure on base table(s). Retry the operation if it is okay to update statistics.