Fix lock hints with double hint.
When using a double hint you need to explicitely use WITH.