Locks command bar updates.
HRESULT LockUpdates();
Returns S_OK if operation was successful or error code in other cases.
IUIX_CmdBar