Just taken me the best part of half a day to work this out but to allow notifications on lock screen (of my Galaxy A5 2017) you have to have security on your phone ie a password otherwise there's no lock screen notification options. Once you've changed that you can make the contents hidden.