A clock softly tick locking with cleaning at the end