IMO, it should continue to check if ```key != null``` for possible case where ```getLockedKeys``` is invoked before ```addLockedKey``` or ```putLookedUpEntry```