When using DML Redirection in Active DataGuard, you can run into Locking issues for Transactions -- in the same as would happen if both sessions were in the same database instance.
An added complication is "distributed_lock_timeout" because DML Redirection uses a Database Link
For my previous videos
see "Open Standby Database for Querying" : • Open Standby Database for Querying
and
"ADG DML Redirection" : • ADG DML Redirection
Also see Blog Posts :
"Active DataGuard and DML Redirection " : https://hemantoracledba.blogspot.com/...
and
"ADG and DML Redirection -- with Multiple Standbys" : https://hemantoracledba.blogspot.com/...