dynamic unlock visibility