Adding cron.locked event - issue #43