correctly setting lock list for multiple entity groups