change alarm lock to global