As noted above, the Depth Effect feature for creating exciting lock screen wallpapers that look 3D only works with iPhones running iOS 16 and above, and on images that the phone considers compatible.
The ability to add Depth Effects to ... Select Set as Wallpaper Pair. Thats it! The Live Photo will play as a short, looping video whenever your lock screen is lit up and displayed.