alarm util func
rename lock name