Can't say for the S5s but my 2009 5s, you just undid the locknuts (17mm IIRC) and the spindle comes out, (watch out for two different sized spacers, get them the wrong way round on re-assembly and the cassette fouls the dropouts), then the freehub just slides out.
it may be different on yours, but certainly mine were dead simple.