Lock and chain