Programmatically Place View With Defined Fixed Contextual Filter
Use views_embed_view:

function views_embed_view($name, $display_id = 'default') {
  $args = func_get_args();
  // Remove $name and $display_id from the arguments.
  unset($args[0], $args[1]);

  $view = Views::getView($name);
  if (!$view || !$view-&gt;access($display_id)) {
    return;
  }

  return [
    '#type' =&gt; 'view',
    '#name' =&gt; $name,
    '#display_id' =&gt; $display_id,
    '#arguments' =&gt; $args,
  ];
}


Btw. Twig Tweak maps this function one to one:

  {# This accepts views arguments as well. #}
  &lt;dt&gt;View:&lt;/dt&gt;
  &lt;dd&gt;{{ drupal_view('view_name', 'page_1') }}&lt;/dd&gt;


Example

So if you want to filter the node 123 in the contextual filter you've shown in the question, you use this as third argument:

PHP

views_embed_view('view_name', 'block_1', '123');


TWIG (using the module Twig Tweak)

{{ drupal_view('view_name', 'block_1', '123') }}