Connection problem

serious connection problem.
I have two databases, the first for security, the second for data.
I launch an app with the correct data connection, then I have to read a piece of data from the security database, I run sc_lockup giving the connection parameter but it doesn’t work, it continues to remain connected to the launch connection.
current sc version 9.10.032 (27)