Add methods to fire soneLocked and soneUnlocked events.