With this Locking Library, you will be able to manage the locks in your tables.
Features:- Lock table records- Check if there is someone locking a record- Force release of a lock (by admin)
Note:This is just the library to help you manage locks, you still have to adjust your database in order to do it. There are 2 good examples where you can see it working and you can also track modifications with this database architecture.