Nope, they use a GUI program called ‘Data Extraction Program’:
https://www.reddit.com/r/MovieDetails/comments/n4hond/in_true_lies_1994_a_computer_is_shown_running/
Unless it’s ‘True Lies’, in which case the terrorists are running Windows 3.1.
No love for Mattermost?
This can probably be accomplished with Tasker. Tasker can definitely disable the screen timeout, and my guess can lock the phone as well.