Windev seems to set up suboptimal lock strategies in SQL Server by default if you don't specify the right options yourself. (We encountered the very same errors at the company I work for).
I suggest you to use those two options. You do this at the launch of the application, when you set up the connection to the DB.
H.SQLServerMode = 0
to leverage the more performant driver SQLnCli (you have to install it before, it's provided by Microsoft).
HDescribeConnection(..., hNativeAccessSQLServer, "WD Command Timeout=0; WD Lock Timeout=0;"
WD Lock Timeout=0; is the important option here. It tells Windev to let SQL Server configures its own lock policy, not trying to force SQL Server. If you profile the connection to SQL Server, you'll notice that Windev is now sending SET LOCK_TIMEOUT -1
to SQL Server.
Thanks to this, you shouldn't see any 117 lock request time out period exceeded anymore.