This module addresses #3028391: It's very difficult to alter forms of inline (content blocks) placed via Layout Builder
It provides a hook_block_type_form_alter()
function that modifies block forms rendered by both Block Content and Layout Builder.