If you set up an element to collapse you can use a breakpoint modifier to make the collapse not collapse from a given breakpoint.
You need to use a collapse
class and add the infix modifier:
<div class="collapse collapse-lg">...</div>
Available modifiers are:
.collapse-sm
.collapse-md
.collapse-lg
.collapse-xl
.collapse-xxl