Searches for new physics using unsupervised machine learning for anomaly detection at the ATLAS detector and the development of particle identification algorithms for the HL-LHC