LockScreen Notifications should stay on the device, until it is unlocked AND you dismiss the Notification.
Lock your device.
I am the same as well. I receive notifications on my lock screen on my Galaxy Z Flip 4. In order to erase the notification, I have to login with my password first then I can proceed to clear it.