default or selected kernelversion does not have config value CONFIG_DETECT_SOFTLOCKUP.
Result is shown for kernelversion 5.4.229

Detect Soft Lockups

modulename: softlockup.ko

configname: CONFIG_DETECT_SOFTLOCKUP

Linux Kernel Configuration
└─>Detect Soft Lockups
In linux kernel since version 2.6.14 (release Date: 2005-10-27)  
Say Y here to enable the kernel to detect "soft lockups",
which are bugs that cause the kernel to loop in kernel
mode for more than 60 seconds, without giving other tasks a
chance to run.

When a soft-lockup is detected, the kernel will print the
current stack trace (which you should report), but the
system will stay locked up. This feature has negligible
overhead.

(Note that "hard lockups" are separate type of bugs that
can be detected via the NMI-watchdog, on platforms that
support it.)

source code: