If you run this, what does it return?
select applock_mode('public', 'SalesApp', 'Transaction')
Answer
The type of lock being held by an application that requested it.
Explanation
This command returns the lock mode held by an application that was requested with the sp_getapplock procedure.