Although I don't have a way to achieve your goal via your preferred means, I do have a way to achieve your goal: add a small script to your Linux startup/shutdown sequence that will remove the lock files from your directory on boot and on shutdown.