The maximum lock time in Ubuntu 18.04, when set via GUI, is 15 minutes. This can be set in *Settings* → *Power* → *Power Saving* → *Blank screen*.

I'd like to increase this to 30 minutes for my machine at home. How can I do that?