This isn't a feature that's available on Samsung phones. As far as I'm aware there aren't many brands that allow this.
There may be other options available for protecting your data, whilst someone else is using your phone, if you'd like to let us know a bit more about this?