If a record is locked, is it identified anywhere in the database?

SOLVED

I was wondering if a sales order is locked by a user, is there a field on the database that will show that this order is locked?