Only excuse for carrying a bike lock is if you just bought it and it is still in original packaging. Otherwise it should always be on the bike.
A bar of soap in a sock is pretty damaging also. Very effective inmate weapon.