Question: can you lock a rucksack?
Answer: The locking "cable" mesh/net that are sold for securing backpacks / rucksacks is likely the best option available to you ... IF you are going to leave any valuables in your rucksack - not necessarily while in your room.