[hibernate-issues] [JIRA] (OGM-655) Add test for EntityManager#lock()