No, the guard is not what you are looking for; you will need to put a regular mutex in your object and manually lock/unlock it when you are accessing your data.
The .guard informs the Nim compiler about your intentions with regards to locking, it can help you protect your data by warning you that you are accessing a guarded memory location without taking the lock.
