reset alarm on unlock implemented