UWidgetComponent I can't demonstrate inside of AActorClass inheritance

Use UPROPERTY() to expose your variable:

UPROPERTY(EditDefaultsOnly, BlueprintReadOnly)
TObjectPtr<UWidgetComponent> OptionsMenuWidget;