Legislation introduced to keep murderers locked up