hiding unlock button when user can't make action