A missing widget after locking an app can be expected behavior in the One UI 9.5 beta. Check privacy, notification content and ordinary widget faults separately.