A Lancashire football club has been banned from holding events with live or amplified music after noise complaints.