Only make a lock button if we can get a GPermission