Fix cancan abilities related to sequences and activities

[#55911802]

Activities:
- class was passed instead of an instance
- is_locked isn't a valid property of a sequence