But here it's where the patent system is broken. Doing conceptually trivial combinations of on itself non patentable thinks should _never_ be patentable, at lest for software but probably for anything. Sure patenting a specific complex mechanism for combining two thinks might be patentable but in case of software this is hardly ever the case, most times its more or less trivial glue code.
So e.g. Face recognition + smartphone + unlock screen might all be patentable by itself. Especially a faceregocnition algorithm which works especially good for smartphone usecase might be patentable. Bu using existing face recognition on a smartphone to unlock the screen shouldn't be patentable. They are all existing components and combining them is conceptually trivial. In the end patents where meant to protect research investments, not random ideas.