The Schlage FBE365 electronic deadbolt uses a DC motor attached to a helical screw to raise and lower the C-shaped piece shown. The way the rest of the mechanism works is not important for this question - all that matters is that the C-shaped piece needs to go up and then down and it does that by rotating a motor and spring.
Additional detail: The C-shaped piece has a tang on its back that inserts between coils. When the rotation happens, the portion of the spring below the tang becomes compressed and the portion of the spring above the tang becomes elongated, which causes the C-shaped piece to be pulled up. Its held there for a couple seconds, then the motor rotates back to its original position, causing the C-shaped piece to be pushed down. Figure 1 shows the C-shaped piece in the down position. Figure 2 shows the C-shaped piece in the up position. Figure 3 shows the C-shaped piece removed - the spring and tang are visible. Figure 4 shows a close up of the tang. See here for a video of it operating: https://www.youtube.com/watch?v=OqjcM-eb8ZY
Prior to seeing the insides, I would have guessed there is a solenoid moving parts around as is common in many locks. It seems like that could definitely work here - have a solenoid pull up on the C-shaped piece and then have a spring return it to its original position. Any ideas why they chose to use a motor rather than a solenoid? One idea I had is that the solenoid plunger would have to be ferromagnetic, leaving the lock susceptible to someone using an external magnet to lift up the C-shaped piece and open the deadbolt. Any other possible reasons? Has anyone else ever seen a spring used as a screw drive in a design?