According to 2-phase locking protocol, if a transaction acquires an exclusive lock on any object, another transaction cannot obtain any kind of lock on it till the first transaction unlocks it.
Is the reverse also true, i.,e., if a transaction acquires a shared lock on any item, then any other interleaving transaction cannot acquire any kind of lock on it..? or it cannot acquire exclusive lock, but can acquire shared lock. ?