Release lock descriptors in start-stop-programs module

Thanks: Renta Sabitov
Revert "Add support for NAND (SSD / Flash) device"

This reverts commit 177ff60031c264d5d79c63d37ca1a5f8c2995475.