Add lock application

This is done "enough" to merge into the main branch.  The "to do" list for the lock-n-run application is mostly work to generate meaningful error messages, for conditions already detected.