use lock prefix when needed