Thanks for the support on this
@Kieran Kenneally
When I think of the thousands upon thousands of words of fretting about bedbugs expended on this forum, and yet something more serious and dangerous is given so little regard, and treated as unimportant or a bit of a joke even, it makes me wonder.
Locking people in is not a harmless eccentricity, a quirk, or funny, and being locked in is not an opportunity to be adventurous to do some 'research' to see how you can 'sneak out'. If you are reading this and have not visited Spain yet, and you think this is irrelevant to you, let me tell you that 99% of buildings in Spain have bars on the ground floor windows, permanent bars that you cannot open.
So we have a number of actions you can take if you find that an albergue locks you in:
@SYates recommends
Tell the local Amigos group - although how you are supposed to do this is rather obscure, if you don't speak or write Spanish, or know which Amigos cover the albergue in question
Tell the local authorities - again, how you do this isn't easy, if you don't speak Spanish and will be leaving early the next morning
Maybe she could compose a letter for you if you contact her in a private message?
Or alternatively you could do what some of the posters above have done, which is leave / cancel your booking, and
tell the proprietors why. A pain in the wallet is an excellent way to get a point across.
Or I can suggest you post on
www.gronze.com or Trip Advisor a Not Recommended review (in English) stating that fire safety is a problem.