There are factors that can distract employees from their duties. But employees must understand the purpose of the work, and be motivated.
You can also install computer monitoring software on computers in the office such as keylogger software https://www.refog.com/free-keylogger.html with which you can find out what an employee is doing in the office at the computer.