accordion not closing bootstrap5 code example
Example: bootstrap accordion stop from closing
You can remove data-parent="#accordion" from each panel which enables you to
open a panel without closing another at the same time.
reference : https://stackoverflow.com/questions/31982638/how-to-prevent-accordion-to-close-while-clicking-on-sibling-divs