Three people have died by suicide inside a locked mental health unit at a major Brisbane public hospital over the past 16 months.