Map lock test

2 tests 
clarify lock behaviour for non-existent keys #1775