Door lock is showing problem status indefinitely

The “stuck” lock jam is a known driver issue. There is currently no fix. You can try some workarounds.

If your device exposes the alarm type and alarm level entities (disabled by default, view the Device page and enable them), and those reflect the lock jam state, you can create a template sensor based on those values.

You can use some Python script code to reset the state of the entity after some time or other event (e.g. unlock or lock).

You can use a zwave_js.value_updated trigger in a trigger-based template sensor.