You will need expo config plugin that copies your widget Swift UI code when running expo prebuild. I believe this config plugin will resolve your roadblocks https://github.com/EvanBacon/expo-apple-targets
For creating lock screen ios widgets. Here's some tutorial references. https://www.createwithswift.com/creating-a-lock-screen-widget-with-swiftui/
Highly recommend you go through this arcticle. https://evanbacon.dev/blog/apple-home-screen-widgets
Hopefully it resolves your problem.