Are there any options in Magma provided to simulate such behavior automatically ?
Not at the object level, but you might be interested in looking at MagmaCounter. I think Gjaller uses this to generate sequence #'s. Probably not necessary for application-level object-locking, but an interesting special-purpose tool available that sometimes is easily forgotten about..
- Chris