What is meant by Orphan Lock and Orphan Sessions? I have came across this term Orphan locks and Orphan sessions and I really have no idea what that is. I have tried to search it on Google and I still haven't got any useful info/results regarding what it mean. 

All I get till now is that orphan locks are some kind of session locks which results in deadlocks after executing query or queries. (please correct me if I get it wrong)

Can someone please explain this a bit ? What are Orphan Locks ? Are they the same as Orphan sessions ? How do they form and what they have to do with sessions ?

p.s: I am still newbie to this so I apologise if it sounds all too basic.
As the name suggests orphaned session is like a child that nobody knows whom it belongs to and in session terms, nobody know a specific session whom it belongs to, hence the name orphaned session.
Orphan session examples:

database table lock forever because client and server connection is broken
A user session that the IdP (identity providet) cannot determine what client it belongs to, this can happen with SSO when the user log out from SP (service provided) (example any website that uses SSO) and the IdP that provides the SSO (example login with facebook/google). If the user logs out of the SP but not the IdP as well, then the IdP would have all those orphan sessions that they don't know whom they belong to and are just hanging there.