Oracle Message ORA-15247 - cannot specify both WAIT and NOWAIT options in the same statement

ERRORcannot specify both WAIT and NOWAIT options in the same statement
CAUSEAn attempt was made to specify both WAIT and NOWAIT options in the same statement.
ACTIONRevise the statement and include at most one option.